public void btnImport_Click(object sender, EventArgs e) { try { ExcelBase L_ExcelBase = new ExcelBase();//("SYS_MENU_History", mSysMenuHistory); L_ExcelBase.ShowDialog(); if (L_ExcelBase.DialogResult == DialogResult.OK) { L_ExcelBase.Close(); } else { } } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void btnImport_Click(object sender, EventArgs e) { try { ExcelBase L_ExcelBase = new ExcelBase(); L_ExcelBase.ShowDialog(); if (L_ExcelBase.DialogResult == DialogResult.OK) { L_ExcelBase.Close(); } else { } } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }