아웃룩 오픈 긴능 추가

This commit is contained in:
chikyun.kim
2018-09-27 08:21:00 +09:00
parent 30583ad369
commit 78f316bc3a
61 changed files with 3407 additions and 43 deletions

View File

@@ -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));
}
}