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(); } }
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(); } }
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(); } }