示例#1
0
        public void readRecordsRunWorkerCompletedEventHandler(object sender, RunWorkerCompletedEventArgs e)
        {
            Tuple <String, List <String>, List <ListViewItem> > result = (Tuple <String, List <String>, List <ListViewItem> >)e.Result;
            String tableName = result.Item1;
            List <ListViewItem> listViewItemList = result.Item3;

            formMain.setRecordListMethod(listViewItemList);
            formWait.Close();
        }
示例#2
0
        public void extractFileRunWorkerCompletedEventHandler(object sender, RunWorkerCompletedEventArgs e)
        {
            bool result = (bool)e.Result;

            formWait.Visible = false;
            formWait.Close();

            if (result == false)
            {
                MessageBox.Show("Cannot extract file, Run this program as an administrator", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else
            {
                analyzeFile();
            }
        }
示例#3
0
 public void parseTableRunWorkerCompletedEventHandler(object sender, RunWorkerCompletedEventArgs e)
 {
     formWait.Close();
     dockTableList.setAutoColumnSize();
 }