private void tsmInventoryType_Click(object sender, EventArgs e)
        {
            InventoryType _InventoryType = new InventoryType();
            FormUI        _Form          = new FormUI();
            Type          _TypeUI        = typeof(FormUI);
            Type          _Type          = typeof(InventoryType);
            ListFormUI    _ListForm      = new ListFormUI((object)_InventoryType, (object)_Form, _TypeUI, _Type);
            TabPage       _ListFormTab   = new TabPage();

            _ListFormTab.ImageIndex = 15;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
        private void tsmLocation_Click(object sender, EventArgs e)
        {
            Location   _Location    = new Location();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Location);
            ListFormUI _ListForm    = new ListFormUI((object)_Location, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 10;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
        private void tsmUnit_Click(object sender, EventArgs e)
        {
            Unit       _Unit        = new Unit();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Unit);
            ListFormUI _ListForm    = new ListFormUI((object)_Unit, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 11;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
        private void tsmSupplier_Click(object sender, EventArgs e)
        {
            Supplier   _Supplier    = new Supplier();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Supplier);
            ListFormUI _ListForm    = new ListFormUI((object)_Supplier, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 16;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
        private void tsmItem_Click(object sender, EventArgs e)
        {
            Stock      _Item        = new Stock();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Stock);
            ListFormUI _ListForm    = new ListFormUI((object)_Item, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 14;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
        private void tsmItemCategory_Click(object sender, EventArgs e)
        {
            Category   _Category    = new Category();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Category);
            ListFormUI _ListForm    = new ListFormUI((object)_Category, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 13;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
Beispiel #7
0
        private void toolStripMenuItem4_Click(object sender, EventArgs e)
        {
            Brand      _Brand       = new Brand();
            FormUI     _Form        = new FormUI();
            Type       _TypeUI      = typeof(FormUI);
            Type       _Type        = typeof(Brand);
            ListFormUI _ListForm    = new ListFormUI((object)_Brand, (object)_Form, _TypeUI, _Type);
            TabPage    _ListFormTab = new TabPage();

            _ListFormTab.ImageIndex = 11;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }
Beispiel #8
0
        private void tsmSalesIncharge_Click(object sender, EventArgs e)
        {
            SalesIncharge _SalesIncharge = new SalesIncharge();
            FormUI        _Form          = new FormUI();
            Type          _TypeUI        = typeof(FormUI);
            Type          _Type          = typeof(SalesIncharge);
            ListFormUI    _ListForm      = new ListFormUI((object)_SalesIncharge, (object)_Form, _TypeUI, _Type);
            TabPage       _ListFormTab   = new TabPage();

            _ListFormTab.ImageIndex = 15;
            _ListForm.ParentList    = this;
            displayControlOnTab(_ListForm, _ListFormTab);
        }