コード例 #1
0
ファイル: frmPurchaseOrderAddEdit.cs プロジェクト: taiab/POS
 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();
 }
コード例 #2
0
 public frmPurchaseOrderAddEdit(int HeaderID)
 {
     InitializeComponent();
     _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();
 }
コード例 #3
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();
        }