Exemplo n.º 1
0
        private void btnQLLoaiSanPham_Click(object sender, EventArgs e)
        {
            DanhSachKhachHang danhSachKhachHang = new DanhSachKhachHang();

            this.Hide();
            danhSachKhachHang.ShowDialog();
            this.Show();
        }
Exemplo n.º 2
0
        private void btnTenKH_Click(object sender, EventArgs e)
        {
            DanhSachKhachHang danhSachKhachHang = new DanhSachKhachHang();

            this.Hide();
            danhSachKhachHang.ShowDialog();
            if (danhSachKhachHang.bel_kh.HoTen != null)
            {
                this.bel_kh   = new BEL_KHACHHANG(danhSachKhachHang.bel_kh);
                txtTenKH.Text = this.bel_kh.HoTen;
            }
            this.Show();
        }