public frmThemHangHoa() { InitializeComponent(); txtMaHang.Text = HangHoaBUS.LayMaHH(); txtMaVach.Text = HangHoaBUS.LayMaHH(); gridlookupPhanLoaiHangHoa.Properties.DataSource = PhanLoaiHangHoaBUS.DanhSach(); gridlookupPhanLoaiHangHoa.Properties.DisplayMember = "TenPhanLoai"; gridlookupPhanLoaiHangHoa.Properties.ValueMember = "MaPhanLoai"; gridlookupKho.Properties.DataSource = KhoHangBUS.DanhSach(); gridlookupKho.Properties.DisplayMember = "Ten"; gridlookupKho.Properties.ValueMember = "MaKho"; gridlookupLoaiHangHoa.Properties.DataSource = NhomHangBUS.DanhSach(); gridlookupLoaiHangHoa.Properties.DisplayMember = "Ten"; gridlookupLoaiHangHoa.Properties.ValueMember = "MaNHH"; gridlookupNCC.Properties.DataSource = NhaCungCapBUS.DanhSach(); gridlookupNCC.Properties.DisplayMember = "TenNCC"; gridlookupNCC.Properties.ValueMember = "MaNCC"; gridlookupDonVi.Properties.DataSource = DonViBUS.DanhSach(); gridlookupDonVi.Properties.DisplayMember = "Ten"; gridlookupDonVi.Properties.ValueMember = "MaDV"; }