private void bbiLapPhieuXuatKho_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmXuatKho frm = new frmXuatKho(); frm.Reload += Reload; frm.WindowState = FormWindowState.Maximized; frm.ShowDialog(); }
private void bbiSua_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var arg = gbList.GetFocusedRowCellValue(colMa_Chung_Tu); if (arg == null) return; var frm = new frmXuatKho(arg.ToString()); frm.Reload += Reload; frm.WindowState = FormWindowState.Maximized; frm.ShowDialog(); }