예제 #1
0
 private void bbiLapPhieuXuatKho_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmXuatKho frm = new frmXuatKho();
     frm.Reload += Reload;
     frm.WindowState = FormWindowState.Maximized;
     frm.ShowDialog();
 }
예제 #2
0
        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();
        }