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();
        }