public RecentPurchasesForm()
        {
            this.customerController = IOC.Container.GetInstance <CustomerController>();
            this.purchaseController = IOC.Container.GetInstance <PurchaseController>();

            InitializeComponent();
        }
Example #2
0
        public AddPOForm()
        {
            this.purchaseController       = IOC.Container.GetInstance <PurchaseController>();
            this.purchaseReturnController = IOC.Container.GetInstance <PurchaseReturnController>();

            InitializeComponent();
        }
        public AddCounterItemForm()
        {
            this.saleController           = IOC.Container.GetInstance <SaleController>();
            this.salesReturnController    = IOC.Container.GetInstance <SalesReturnController>();
            this.purchaseController       = IOC.Container.GetInstance <PurchaseController>();
            this.purchaseReturnController = IOC.Container.GetInstance <PurchaseReturnController>();

            InitializeComponent();
        }
Example #4
0
        public PurchaseControl()
        {
            this.customerController       = IOC.Container.GetInstance <CustomerController>();
            this.purchaseController       = IOC.Container.GetInstance <PurchaseController>();
            this.purchaseReturnController = IOC.Container.GetInstance <PurchaseReturnController>();
            this.paymentDetailController  = IOC.Container.GetInstance <PaymentDetailController>();

            InitializeComponent();
        }
        public AddPurchaseForm()
        {
            this.customerController = IOC.Container.GetInstance <CustomerController>();
            this.purchaseController = IOC.Container.GetInstance <PurchaseController>();

            InitializeComponent();

            purchaseWorker.DoWork             += new DoWorkEventHandler(purchaseWorker_DoWork);
            purchaseWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(purchaseWorker_RunWorkerCompleted);

            this.AutoValidate = AutoValidate.Disable;
        }
 public PurchaseCounterController(IUnitOfWork unitOfWork, IPurchaseController purchaseController)
 {
     this.unitOfWork         = unitOfWork;
     this.purchaseController = purchaseController;
 }
Example #7
0
        public Form1()
        {
            this.purchaseController = IOC.Container.GetInstance <PurchaseController>();

            InitializeComponent();
        }