..
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user