void FrmDanhMuc_Load(object sender, System.EventArgs e) { dgvNhaCungCap.DataSource = busNhaCungCap.GetAll(); lkDanhMuc.Properties.DataSource = busDanhMuc.GetAll(); dgvSanPham.DataSource = busHangHoa.GetAll(); btnLuu.Enabled = false; }
private void FrmDanhMucHoaDon_Load(object sender, EventArgs e) { lkKhachHang.Properties.DataSource = busKhachHang.GetAll(); lkNhanVien.Properties.DataSource = busNhanVien.GetAll(); dgvHoaDon.DataSource = busHoaDon.GetAllBill(); lkDanhMucSP.Properties.DataSource = busDanhMuc.GetAll(); dgvSanPham.DataSource = busHangHoa.GetAll(); panelControl4.Enabled = false; }
private void FrmBaoGia_Load(object sender, EventArgs e) { dgvPhieuBaoGia.DataSource = busHoaDon.GetAllPrice(); lkDanhMucSP.Properties.DataSource = busDanhMuc.GetAll(); dgvSanPham.DataSource = busHangHoa.GetAll(); panelControl4.Enabled = false; lkKhachHang.Properties.DataSource = busKhachHang.GetAll(); lkNhanVien.Properties.DataSource = busNhanVien.GetAll(); }
private void FrmDanhMuc_Load(object sender, EventArgs e) { dgvPhieuNhapHang.DataSource = busNhapHang.GetAll(); lkDanhMucSP.Properties.DataSource = busDanhMuc.GetAll(); lkNhaCungCap.Properties.DataSource = busNhaCungCap.GetAll(); lkNhanVien.Properties.DataSource = busNhanVien.GetAll(); dgvSanPham.DataSource = busHangHoa.GetAll(); Enable(false); }