Esempio n. 1
0
 private void Frm_NhapHang_Main_Load(object sender, EventArgs e)
 {
     bd = new BLL_NhapHang();
     HienThiDuLieu();
     TinhTongThanhTien();
     LayDuLieuCboField(dgvChiTietNhapHang, cboField);
 }
Esempio n. 2
0
 private void Frm_QLGiaban_Main_Load(object sender, EventArgs e)
 {
     bd = new BLL_NhapHang();
     HienThiDanhSachGiaBan();
     lblTennhanVien.Text = string.Format("Nhân viên: {0}", Cls_Main.tenNhanVien);
     if (!string.IsNullOrEmpty(tenSanPham))
     {
         txtSearch.Text = tenSanPham;
     }
 }
        private void Frm_NhapHang_Modifies_Load(object sender, EventArgs e)
        {
            bd = new BLL_NhapHang();

            HienThicboNhaCungCap();
            if (StatusTaoPhieu)//Thêm mới
            {
                TaoMaPhieuNhap();
            }
            else//Update
            {
                txtMaPhieuNhap.Text = maPhieuNhap;
                dtpNgayNhap.Value   = ngayNhap;
                HienThiChiTietNhap(maPhieuNhap);
            }
        }
 private void Frm_NhapHang_Main_Load(object sender, EventArgs e)
 {
     bd = new BLL_NhapHang();
     HienThiDuLieu();
 }