This commit is contained in:
chi
2023-12-19 11:49:57 +09:00
parent 4334725900
commit 6e925857b3
18 changed files with 1881 additions and 268 deletions

View File

@@ -15,6 +15,8 @@ using FEQ0000.Purchase;
using FCOMMON;
using NetOffice.OfficeApi;
using System.Web.Services.Protocols;
using System.Diagnostics;
using FarPoint.Win.Spread.CellType;
namespace FEQ0000
{
@@ -1475,5 +1477,23 @@ namespace FEQ0000
ToolStripMenuItem.Enabled = IsAdmin;
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
var cnt = this.fpSpread1_Sheet1.Columns.Count;
Dictionary<string, string> cols = new Dictionary<string, string>();
foreach(FarPoint.Win.Spread.Column col in fpSpread1_Sheet1.Columns)
{
if (col.Visible == false || col.Width < 10) continue;
if (col.CellType is CheckBoxCellType) continue;
var field = col.DataField;
var label = col.Label;
cols.Add(field, col.Label);
}
var f = new fUserExportColumn(this.Name, cols,this.dsPurchase.Purchase,this.bs.Filter);
f.ShowDialog();
}
}
}