private void btnChooseBTH_Click(object sender, EventArgs e) { frmBaiThucHanhManger frm = new frmBaiThucHanhManger(); frm.IsSelectedForm = true; frm.DtBaiThucHanh = dtBaiThucHanhLink; if (frm.ShowDialog() == DialogResult.OK) { grdBTH.DataSource = dtBaiThucHanhLink; loadModule(); } }
private void btnBaiTH_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmBaiThucHanhManger frm = new frmBaiThucHanhManger(); TextUtils.OpenForm(frm); }