Exemple #1
0
        private void barBtnChuyenDonVi_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            CTTaiSan obj = ucGridControlTaiSan1.CTTaiSan;

            if (obj != null)
            {
                frmInputViTri_DonVi frm = new frmInputViTri_DonVi(obj);
                frm.reloadAndFocused = new frmInputViTri_DonVi.ReloadAndFocused(reloadAndFocused);
                frm.ShowDialog();
            }
        }
 private void barBtnChuyen_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     CTTaiSan obj = ucGridControlTaiSan1.CTTaiSan;
     if (obj != null)
     {
         frmInputViTri_DonVi frm = new frmInputViTri_DonVi(obj);
         frm.Text = "Chuyển vị trí";
         frm.reloadAndFocused = new frmInputViTri_DonVi.ReloadAndFocused(reloadAndFocused);
         frm.ShowDialog();
     }
 }