private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form frm = this.checkExists(typeof(FormLL12)); if (frm != null) { frm.Activate(); } else { FormLL12 f = new FormLL12(this); f.MdiParent = this; f.Show(); } }
private void FormLenLop_Load(object sender, EventArgs e) { FormLL10 f10 = new FormLL10(this); f10.MdiParent = this; f10.Show(); FormLL11 f11 = new FormLL11(this); f11.MdiParent = this; f11.Show(); FormLL12 f12 = new FormLL12(this); f12.MdiParent = this; f12.Show(); f10.Activate(); }