private void btnKhachHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FrmKhachHang fkhachhang = new FrmKhachHang(); fkhachhang.MdiParent = this; fkhachhang.Show(); }
private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e) { Form frm = Checkform((typeof(FrmKhachHang))); if (frm != null) { frm.Activate(); } else { FrmKhachHang frmKH = new FrmKhachHang(); frmKH.MdiParent = this; frmKH.Show(); } }