public StockCorrectionUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            stockCorrectionRepository     = ServiceLocator.GetObject <IStockCorrectionRepository>();
            stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>();
            userAccessRepository          = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
Exemple #2
0
        public ExpenseUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            expenseRepository     = ServiceLocator.GetObject <IExpenseRepository>();
            expenseItemRepository = ServiceLocator.GetObject <IExpenseItemRepository>();
            userAccessRepository  = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
Exemple #3
0
        public PayablePaymentUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            payablePaymentRepository     = ServiceLocator.GetObject <IPayablePaymentRepository>();
            payablePaymentItemRepository = ServiceLocator.GetObject <IPayablePaymentItemRepository>();
            salesRepository      = ServiceLocator.GetObject <ISalesRepository>();
            userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
Exemple #4
0
        public DebtPaymentUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            debtPaymentRepository     = ServiceLocator.GetObject <IDebtPaymentRepository>();
            debtPaymentItemRepository = ServiceLocator.GetObject <IDebtPaymentItemRepository>();
            purchaseRepository        = ServiceLocator.GetObject <IPurchaseRepository>();
            userAccessRepository      = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
Exemple #5
0
        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>();
        }
Exemple #6
0
        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();
        }
Exemple #7
0
        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();
        }
Exemple #8
0
        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();
        }
Exemple #9
0
        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();
        }
Exemple #10
0
        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();
        }
Exemple #11
0
        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();
        }
Exemple #12
0
 public CompanyUI(MainUI frmMain)
 {
     companyRepository = ServiceLocator.GetObject <ICompanyRepository>();
     this.frmMain      = frmMain;
     InitializeComponent();
 }