Example #1
0
 private void BatchForm_Load(object sender, EventArgs e)
 {
     filepath = FileOperate.inipath + "\\" + m_folderName;
     bFileOperate.GetListViewItemDir(filepath, imageList1, listView1);
     ReadOpenErpEvent += new ReadOpenErpHandler(MainForm._mainForm.UpdateOpenListView);
     MyTimer           = new System.Timers.Timer(2000);
     MyTimer.Elapsed  += new System.Timers.ElapsedEventHandler(OnTimerRun);
 }