private void SwitchOtherRuleItem() { switch (SideBar.SelectIndex) { case 0: enhanceMenusList.LoadItems(); enhanceMenusList.Visible = true; break; case 1: thirdRuleList.LoadItems(); thirdRuleList.Visible = true; break; case 3: shellList.Scene = ShellList.Scenes.DragDrop; shellList.LoadItems(); shellList.Visible = true; break; case 4: shellList.Scene = ShellList.Scenes.CommandStore; shellList.LoadItems(); shellList.Visible = true; break; case 5: shellList.Scene = ShellList.Scenes.CustomRegPath; shellList.LoadItems(); shellList.Visible = true; break; case 7: guidBlockedList.LoadItems(); guidBlockedList.Visible = true; break; case 8: iEList.LoadItems(); iEList.Visible = true; break; } }
private void SwitchOtherRuleItem() { switch (SideBar.SelectedIndex) { case 0: enhanceMenusList.ScenePath = null; enhanceMenusList.LoadItems(); enhanceMenusList.Visible = true; break; case 1: detailedEditList.GroupGuid = Guid.Empty; detailedEditList.LoadItems(); detailedEditList.Visible = true; break; case 3: shellList.Scene = ShellList.Scenes.DragDrop; shellList.LoadItems(); shellList.Visible = true; break; case 4: shellList.Scene = ShellList.Scenes.CommandStore; shellList.LoadItems(); shellList.Visible = true; break; case 5: shellList.Scene = ShellList.Scenes.CustomRegPath; shellList.LoadItems(); shellList.Visible = true; break; case 7: guidBlockedList.LoadItems(); guidBlockedList.Visible = true; break; case 8: iEList.LoadItems(); iEList.Visible = true; break; } }