private void btnEX_Click(object sender, EventArgs e) { using (frmWaitForm frm = new frmWaitForm(ExcelLoad)) { frm.ShowDialog(this); } }
private void button5_Click(object sender, EventArgs e) { using (frmWaitForm frm = new frmWaitForm(ExcelDown)) { frm.ShowDialog(this); } }