예제 #1
0
        public StockCorrectionUI(MainUI frmMain)
        {
            this.frmMain = frmMain;


            stockCorrectionRepository     = ServiceLocator.GetObject <IStockCorrectionRepository>();
            stockCorrectionItemRepository = ServiceLocator.GetObject <IStockCorrectionItemRepository>();
            userAccessRepository          = ServiceLocator.GetObject <IUserAccessRepository>();
            InitializeComponent();
        }
예제 #2
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();
        }
예제 #3
0
 public ReportPrintUI(StockCorrectionUI frmStockCorrection)
 {
     InitializeComponent();
     this.frmStockCorrection   = frmStockCorrection;
     stockCorrectionRepository = ServiceLocator.GetObject <IStockCorrectionRepository>();
 }
예제 #4
0
 public StockCorrectionHistoryUI(StockCorrectionUI frmStockCorrection)
 {
     stockCorrectionRepository = ServiceLocator.GetObject <IStockCorrectionRepository>();
     this.frmStockCorrection   = frmStockCorrection;
     InitializeComponent();
 }