Example #1
0
        private void btnDonViTinh_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmDonViTinh dvt = new frmDonViTinh();

            dvt.MdiParent = this;
            dvt.Show();
        }
Example #2
0
        private void btnDonViTinh_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = CheckForm(typeof(frmDonViTinh));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmDonViTinh frmN = new frmDonViTinh();
                frmN.MdiParent = this;
                frmN.Show();
            }
        }
Example #3
0
 private void bbiDonViTinh_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (_khonvl == "True" || phanquyen == "fullcontrol")
     {
         var frm = new frmDonViTinh();
         if (ExistForm(frm))
         {
             return;
         }
         frm.MdiParent = this;
         frm.Show();
     }
     else
     {
         MessageBox.Show("Bạn không thuộc bộ phận Kho");
     }
 }
Example #4
0
        private void barButtonItem19_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmDonViTinh frm = new frmDonViTinh();

            frm.Show();
        }