public SalesRepository(DataSource ds) { this.ds = ds; salesItemRepository = ServiceLocator.GetObject <ISalesItemRepository>(); recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); }
public StockCorrectionRepository(DataSource ds) { this.ds = ds; stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>(); recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); }
public ProfitStatementRepository(DataSource ds) { this.ds = ds; inventoryRepository = ServiceLocator.GetObject <IInventoryRepository>(); expenseItemRepository = ServiceLocator.GetObject <IExpenseItemRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); }
public PurchaseRepository(DataSource ds) { this.ds = ds; purchaseItemRepository = ServiceLocator.GetObject <IPurchaseItemRepository>(); recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); }
public ProductListUI(PayableBalanceUI frmPayableBalance) { productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); this.frmPayableBalance = frmPayableBalance; formActive = "PayableBalanceUI"; InitializeComponent(); }
public ProductListUI(StockCorrectionUI frmStockCorrection) { productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); this.frmStockCorrection = frmStockCorrection; formActive = "StockCorrectionUI"; InitializeComponent(); }
public ProductListUI(PurchaseUI frmPurchase) { productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); this.frmPurchase = frmPurchase; formActive = "PurchaseUI"; InitializeComponent(); }
public ProductListUI(SalesUI frmSales) { productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); this.frmSales = frmSales; formActive = "SalesUI"; InitializeComponent(); }
public InventoryRepository(DataSource ds) { this.ds = ds; productRepository = ServiceLocator.GetObject <IProductRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); purchaseItemRepository = ServiceLocator.GetObject <IPurchaseItemRepository>(); salesItemRepository = ServiceLocator.GetObject <ISalesItemRepository>(); stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>(); payablePaymentItemRepository = ServiceLocator.GetObject <IPayablePaymentItemRepository>(); }
public ProductUI(MainUI frmMain) { InitializeComponent(); this.frmMain = frmMain; productRepository = ServiceLocator.GetObject <IProductRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); supplierRepository = ServiceLocator.GetObject <ISupplierRepository>(); categoryRepository = ServiceLocator.GetObject <ICategoryRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); }
public SalesUI(MainUI frmMain) { this.frmMain = frmMain; salesRepository = ServiceLocator.GetObject <ISalesRepository>(); salesItemRepository = ServiceLocator.GetObject <ISalesItemRepository>(); customerRepository = ServiceLocator.GetObject <ICustomerRepository>(); salesmanRepository = ServiceLocator.GetObject <ISalesmanRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public ClosingPeriodUI(MainUI frmMain) { this.frmMain = frmMain; salesRepository = ServiceLocator.GetObject <ISalesRepository>(); purchaseRepository = ServiceLocator.GetObject <IPurchaseRepository>(); payableBalanceRepository = ServiceLocator.GetObject <IPayableBalanceRepository>(); debtBalanceRepository = ServiceLocator.GetObject <IDebtBalanceRepository>(); recordCounterRepository = ServiceLocator.GetObject <IRecordCounterRepository>(); salesmanFeeRepository = ServiceLocator.GetObject <ISalesmanFeeRepository>(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); inventoryRepository = ServiceLocator.GetObject <IInventoryRepository>(); InitializeComponent(); }
public ProductQtyUpdateUI(ProductUI frmProduct) { this.frmProduct = frmProduct; InitializeComponent(); productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); }
public ProductRepository(DataSource ds) { productQtyRepository = ServiceLocator.GetObject <IProductQtyRepository>(); this.ds = ds; }