public void SearchLookup() { //Bảng Khổ Giấy In var kgiCtr = new KhoGiayInCtr(); KhoGiayInOffset.Properties.DataSource = kgiCtr.LoadData(); KhoGiayInOffset.Properties.DisplayMember = "KhoIn"; KhoGiayInOffset.Properties.ValueMember = "KhoIn"; txtKhoGiayInKTS.Properties.DataSource = kgiCtr.LoadData(); txtKhoGiayInKTS.Properties.DisplayMember = "KhoIn"; txtKhoGiayInKTS.Properties.ValueMember = "KhoIn"; txtKhoGiayInSauIn.Properties.DataSource = kgiCtr.LoadData(); txtKhoGiayInSauIn.Properties.DisplayMember = "KhoIn"; txtKhoGiayInSauIn.Properties.ValueMember = "KhoIn"; //var vlCtrl = new VatLieuCtr(); //QuyCachStickerSearch.Properties.DataSource = vlCtrl.LoadData4C(); //QuyCachStickerSearch.Properties.DisplayMember = "QuyCach"; //QuyCachStickerSearch.Properties.ValueMember = "QuyCach"; //QuyCachInChuSearch.Properties.DataSource = vlCtrl.LoadData4C(); //QuyCachInChuSearch.Properties.DisplayMember = "QuyCach"; //QuyCachInChuSearch.Properties.ValueMember = "QuyCach"; }
public void SearchLookup() { // Bảng Khách Hàng var khCtr = new KhachHangCtr(); risKhachHang.DataSource = khCtr.LoadData1C(); risKhachHang.DisplayMember = "TenKhachHang"; risKhachHang.ValueMember = "TenKhachHang"; // Bảng Khổ Giấy In var kgiCtr = new KhoGiayInCtr(); risKhoGiayIn.DataSource = kgiCtr.LoadData(); risKhoGiayIn.DisplayMember = "KhoIn"; risKhoGiayIn.ValueMember = "KhoIn"; }