public AutoPartListForm()
        {
            this.autoPartController = IOC.Container.GetInstance <AutoPartController>();
            this.brandController    = IOC.Container.GetInstance <BrandController>();

            InitializeComponent();
        }
예제 #2
0
        }                                     //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();
        }
예제 #3
0
        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);
        }
예제 #4
0
        public AddBrandForm()
        {
            this.brandController = IOC.Container.GetInstance <BrandController>();

            InitializeComponent();
        }