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(); }
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(); } }
public void parseTableRunWorkerCompletedEventHandler(object sender, RunWorkerCompletedEventArgs e) { formWait.Close(); dockTableList.setAutoColumnSize(); }