public AutoPartListForm() { this.autoPartController = IOC.Container.GetInstance <AutoPartController>(); this.brandController = IOC.Container.GetInstance <BrandController>(); InitializeComponent(); }
} //If true, when user double clicks, the item will be selected and form will be closed public InventoryControl() { this.autoPartController = IOC.Container.GetInstance <AutoPartController>(); this.brandController = IOC.Container.GetInstance <BrandController>(); InitializeComponent(); }
public AddItemForm() { this.autoPartController = IOC.Container.GetInstance <AutoPartController>(); this.brandController = IOC.Container.GetInstance <BrandController>(); InitializeComponent(); this.AutoValidate = AutoValidate.Disable; itemWorker.DoWork += new DoWorkEventHandler(itemWorker_DoWork); itemWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(itemWorker_RunWorkerCompleted); }
public AddBrandForm() { this.brandController = IOC.Container.GetInstance <BrandController>(); InitializeComponent(); }