private void btnPhong_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FrmPhong fPhong = new FrmPhong(); fPhong.MdiParent = this; fPhong.Show(); }
private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e) { Form frm = Checkform((typeof(FrmPhong))); if (frm != null) { frm.Activate(); } else { FrmPhong frmPhong = new FrmPhong(); frmPhong.MdiParent = this; frmPhong.Show(); } }