public RecentPurchasesForm() { this.customerController = IOC.Container.GetInstance <CustomerController>(); this.purchaseController = IOC.Container.GetInstance <PurchaseController>(); InitializeComponent(); }
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(); }
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; }
public Form1() { this.purchaseController = IOC.Container.GetInstance <PurchaseController>(); InitializeComponent(); }