아웃룩 오픈 긴능 추가
This commit is contained in:
8
SubProject/FEQ0000/EQFilterApply.Designer.cs
generated
8
SubProject/FEQ0000/EQFilterApply.Designer.cs
generated
@@ -30,8 +30,8 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsEQ = new dsEQ();
|
||||
this.ta = new dsEQTableAdapters.EquipmentFilterTableAdapter();
|
||||
this.dsEQ = new FEQ0000.dsEQ();
|
||||
this.ta = new FEQ0000.dsEQTableAdapters.EquipmentFilterTableAdapter();
|
||||
this.listView1 = new System.Windows.Forms.ListView();
|
||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
@@ -118,7 +118,7 @@
|
||||
this.Name = "EQFilterApply";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Equipment Filter Select";
|
||||
this.Load += new System.EventHandler(this.__Load);
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsEQ)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
@@ -130,11 +130,11 @@
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsEQ dsEQ;
|
||||
private dsEQTableAdapters.EquipmentFilterTableAdapter ta;
|
||||
private System.Windows.Forms.ListView listView1;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader1;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader2;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader3;
|
||||
private System.Windows.Forms.ColumnHeader columnHeader4;
|
||||
private System.Windows.Forms.Button button1;
|
||||
public System.Windows.Forms.ListView listView1;
|
||||
}
|
||||
}
|
||||
@@ -85,7 +85,7 @@ namespace FEQ0000
|
||||
|
||||
private void button1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//make checked list
|
||||
//다음에 체크한것을 복원하기 위해 값을 기록한다.
|
||||
List<string> filterList = new List<string>();
|
||||
foreach (ListViewItem item in this.listView1.CheckedItems)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -323,21 +323,20 @@ namespace FEQ0000
|
||||
var f = new EQFilterApply(dataType);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
//var filter = f.filter;
|
||||
//var apply = f.apply;
|
||||
//if (filter.isEmpty() || apply.isEmpty())
|
||||
//{
|
||||
// Util.MsgE("no data");
|
||||
// return;
|
||||
//}
|
||||
var dlg = FCOMMON.Util.MsgQ("매크로를 적용 하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
//var dlg = Util.MsgQ("다음 매크로를 적용 하시겠습니까?\nFilter:" + filter + "\n" +
|
||||
// "apply : " + apply);
|
||||
//if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
int cnt = 0;
|
||||
foreach(ListViewItem lvitem in f.listView1.CheckedItems)
|
||||
{
|
||||
//filter =2 , apply=3l
|
||||
var filter = lvitem.SubItems[2].Text;
|
||||
var apply = lvitem.SubItems[3].Text;
|
||||
|
||||
//var cnt = applyFilter(filter, apply);
|
||||
//if (cnt == -1) Util.MsgE("오류로 인해 실행되지 않았습니다.");
|
||||
//else Util.MsgI(cnt.ToString() + "건의 자료가 변경되었습니다.");
|
||||
cnt += applyFilter(filter, apply);
|
||||
}
|
||||
|
||||
FCOMMON.Util.MsgI(string.Format("{0}건의 매크로를 적용했습니다",cnt));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user