private void bbiThem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmKhoHang_Them_Sua frm = new frmKhoHang_Them_Sua(); frm.Reload += frm_Reload; frm.ShowDialog(); }
private void bbiSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var ma = gbList.GetFocusedRowCellValue(colId); if (ma == null) { return; } frmKhoHang_Them_Sua frm = new frmKhoHang_Them_Sua(Convert.ToInt64(ma)); frm.Reload += frm_Reload; frm.ShowDialog(); }