private void btnExcel_Click(object sender, EventArgs e) { frmTheoDoiImportExcel frm = new frmTheoDoiImportExcel(); if (frm.ShowDialog() == DialogResult.OK) { SelectAll(ref m_DataSource, grdData); } }
private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmTheoDoiImportExcel frm = new frmTheoDoiImportExcel(); if (frm.ShowDialog() == DialogResult.OK) { SelectAll(ref m_DataSource, grdData); } }