private void btnAddCus_Click(object sender, EventArgs e) { FrmKhachHang frm = new FrmKhachHang { Refresh = new FrmKhachHang.ReloadData(RefreshData) }; frm.ShowDialog(); }
private void btnDanhMucKhachHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (!FormXuatHienChua("FrmKhachHang")) { FrmKhachHang f = new FrmKhachHang(); f.MdiParent = this; f.Show(); } }
private void btnKhachHang_Click(object sender, EventArgs e) { Program.doubleclickdgv = 1; using (FrmKhachHang frmkh = new FrmKhachHang()) { this.Hide(); frmkh.ShowDialog(); this.Show(); cbbMaKH.Text = frmkh.MaKH_focused; } Program.doubleclickdgv = 0; }
public BL_KhachHang(FrmKhachHang frmKhachHang) { this.frmKhachHang = frmKhachHang; }