Ejemplo n.º 1
0
        private void barButtonItem10_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form FromDanhMuc = kiemtraform(typeof(DanhMuc1));

            if (FromDanhMuc == null)
            {
                GCtrl dmuc = new GCtrl();
                dmuc.MdiParent = this;
                dmuc.Show();
            }
            else
            {
                FromDanhMuc.Activate();
            }
        }
Ejemplo n.º 2
0
        private void barButtonItem12_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form FormDonVi = kiemtraform(typeof(DonVics));

            if (FormDonVi == null)
            {
                GCtrl donviCtrl = new GCtrl();
                donviCtrl.MdiParent = this;
                donviCtrl.Show();
            }
            else
            {
                FormDonVi.Activate();
            }
        }
Ejemplo n.º 3
0
        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form FormHocVu = kiemtraform(typeof(HocVu));

            if (FormHocVu == null)
            {
                GCtrl frm = new GCtrl();
                frm.MdiParent = this;
                frm.Show();
            }
            else
            {
                FormHocVu.Activate();
            }
        }