Esempio n. 1
0
        private void FrmOpenTakingInventory_Load(object sender, EventArgs e)
        {
            INVInventoryService inventoryService=new INVInventoryService ();
            cmb_inventory.DataSource = inventoryService.SelectAll();
            cmb_inventory.DisplayMember = "InventoryName";
            cmb_inventory.ValueMember= "InventoryID";

            BDProductService productService = new BDProductService();
            cmb_Product.DataSource = productService.SelectAll();
            cmb_Product.DisplayMember = "ProductName";
            cmb_Product.ValueMember = "ProductID";

            BDProductGroupService productGroupService = new BDProductGroupService();
            cmb_productGroup.DataSource = productGroupService.SelectAll();
            cmb_productGroup.DisplayMember = "ProductGroupName";
            cmb_productGroup.ValueMember = "ProductGroupID";

            ResetFields();
        }
Esempio n. 2
0
 private void LoadScreenData()
 {
     _bDTaxTypeWrapper = new BDTaxTypeWrapper();
     _paymentTypeWrapper = new PaymentTypeWrapper();
     _bDSupplierWrapper = new BDSupplierWrapper();
     pURPurchaseLineCollection = new PURPurchaseLineCollection();
     _pURPurchaseLinerWrapper = new PURPurchaseLineWrapper();
     _productWrapper = new BDProductWrapper();
     _invInventoryService = new INVInventoryService();
     FillSupplierCBX();
     FillPaymentTypeCBX();
     FillTaxTypeCBX();
     FillInventoryCBX();
 }