private void btnAddCus_Click(object sender, EventArgs e)
        {
            FrmKhachHang frm = new FrmKhachHang {
                Refresh = new FrmKhachHang.ReloadData(RefreshData)
            };

            frm.ShowDialog();
        }
Example #2
0
 private void btnDanhMucKhachHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (!FormXuatHienChua("FrmKhachHang"))
     {
         FrmKhachHang f = new FrmKhachHang();
         f.MdiParent = this;
         f.Show();
     }
 }
Example #3
0
 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;
 }
Example #4
0
 public BL_KhachHang(FrmKhachHang frmKhachHang)
 {
     this.frmKhachHang = frmKhachHang;
 }