예제 #1
0
        private void CreateDataGrids()
        {
            _GridMods      = new ModsList(true, ModsList.ModListType.Stage);
            _GridMods.Dock = DockStyle.Fill;

            _GridModsInactive      = new ModsList(false, ModsList.ModListType.Stage);
            _GridModsInactive.Dock = DockStyle.Fill;

            tableLayoutPanel1.Controls.Add(_GridMods, 0, 1);
            tableLayoutPanel1.Controls.Add(_GridModsInactive, 2, 1);
        }
        private void CreateDataGrids()
        {
            _GridSlots      = new SlotModsList();
            _GridSlots.Dock = DockStyle.Fill;

            _GridSlotsInactive      = new ModsList(false, ModsList.ModListType.CharacterSlots);
            _GridSlotsInactive.Dock = DockStyle.Fill;

            _GridGeneral      = new ModsList(true, ModsList.ModListType.CharacterGeneral);
            _GridGeneral.Dock = DockStyle.Fill;

            _GridGeneralInactive      = new ModsList(false, ModsList.ModListType.CharacterGeneral);
            _GridGeneralInactive.Dock = DockStyle.Fill;

            tableLayoutPanel1.Controls.Add(_GridSlots, 0, 1);
            tableLayoutPanel1.Controls.Add(_GridSlotsInactive, 2, 1);
            tableLayoutPanel1.Controls.Add(_GridGeneral, 0, 3);
            tableLayoutPanel1.Controls.Add(_GridGeneralInactive, 2, 3);
        }