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

            InitializeComponent();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
        public AddBrandForm()
        {
            this.brandController = IOC.Container.GetInstance <BrandController>();

            InitializeComponent();
        }