public StockCorrectionUI(MainUI frmMain) { this.frmMain = frmMain; stockCorrectionRepository = ServiceLocator.GetObject <IStockCorrectionRepository>(); stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public ExpenseUI(MainUI frmMain) { this.frmMain = frmMain; expenseRepository = ServiceLocator.GetObject <IExpenseRepository>(); expenseItemRepository = ServiceLocator.GetObject <IExpenseItemRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public PayablePaymentUI(MainUI frmMain) { this.frmMain = frmMain; payablePaymentRepository = ServiceLocator.GetObject <IPayablePaymentRepository>(); payablePaymentItemRepository = ServiceLocator.GetObject <IPayablePaymentItemRepository>(); salesRepository = ServiceLocator.GetObject <ISalesRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public DebtPaymentUI(MainUI frmMain) { this.frmMain = frmMain; debtPaymentRepository = ServiceLocator.GetObject <IDebtPaymentRepository>(); debtPaymentItemRepository = ServiceLocator.GetObject <IDebtPaymentItemRepository>(); purchaseRepository = ServiceLocator.GetObject <IPurchaseRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
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 PayableBalanceUI(MainUI frmMain) { customerRepository = ServiceLocator.GetObject <ICustomerRepository>(); salesmanRepository = ServiceLocator.GetObject <ISalesmanRepository>(); salesRepository = ServiceLocator.GetObject <ISalesRepository>(); payableBalanceRepository = ServiceLocator.GetObject <IPayableBalanceRepository>(); payableBalanceItemRepository = ServiceLocator.GetObject <IPayableBalanceItemRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); this.frmMain = frmMain; InitializeComponent(); }
public BillReceiptUI(MainUI frmMain) { this.frmMain = frmMain; billReceiptRepository = ServiceLocator.GetObject <IBillReceiptRepository>(); billReceiptItemRepository = ServiceLocator.GetObject <IBillReceiptItemRepository>(); salesRepository = ServiceLocator.GetObject <ISalesRepository>(); salesmanRepository = ServiceLocator.GetObject <ISalesmanRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
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 PurchaseUI(MainUI frmMain) { this.frmMain = frmMain; purchaseRepository = ServiceLocator.GetObject <IPurchaseRepository>(); purchaseItemRepository = ServiceLocator.GetObject <IPurchaseItemRepository>(); supplierRepository = ServiceLocator.GetObject <ISupplierRepository>(); debtBalanceRepository = ServiceLocator.GetObject <IDebtBalanceRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public ReportPrintUI(MainUI frmMain) { this.frmMain = frmMain; ds = new BizCareDataSet(); salesRepository = ServiceLocator.GetObject <ISalesRepository>(); purchaseRepository = ServiceLocator.GetObject <IPurchaseRepository>(); billReceiptRepository = ServiceLocator.GetObject <IBillReceiptRepository>(); expenseRepository = ServiceLocator.GetObject <IExpenseRepository>(); stockCorrectionRepository = ServiceLocator.GetObject <IStockCorrectionRepository>(); 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 CompanyUI(MainUI frmMain) { companyRepository = ServiceLocator.GetObject <ICompanyRepository>(); this.frmMain = frmMain; InitializeComponent(); }