private void btnKhachHang_ItemClick(object sender, ItemClickEventArgs e) { Form frm = this.KiemTraTonTai(typeof(PresentationLayers.frmKhachHang)); if (frm != null) { frm.Activate(); } else { PresentationLayers.frmKhachHang f = new PresentationLayers.frmKhachHang(); f.MdiParent = this; f.Show(); } }
private void btnThemKhachHang_Click(object sender, EventArgs e) { frmKhachHang f = new frmKhachHang(); f.ShowDialog(); }