private void showDocList() { listForm = new ListDocsForm(mainForm, resultTable, prevVO, totalDoc, dataList); if (exeSuccess) { listForm.Show(); this.mainForm.docListShowDisposeCntrls(); } else { MessageBox.Show("Error getting data:" + errorMsg); this.mainForm.docListShowDisposeCntrls(); this.mainForm.constrollSet1Enable(); } }
public ListDocsFormEvents(Form1 mainForm, ListDocsForm listDocsForm) { this.mainForm = mainForm; this.docForm = docForm; }