Beispiel #1
0
        public void SetupUI(DebugOS.IDebugUI UI)
        {
            // Shows a WPF component only
            if (UI.Type != GUIType.WPF)
                throw new Exception("This extension must be run under WPF.");

            // Add the menu item
            IMenuItem assemblyExplorerMenuItem = UI.NewMenuItem(label:"Configure Loaded Assemblies...");
            assemblyExplorerMenuItem.Clicked  += (o) => new AssemblyExplorer().ShowDialog();

            UI.AddMenuItem(assemblyExplorerMenuItem, "Debug");
        }
Beispiel #2
0
 public void RemoveSearchCategory(DebugOS.ISearchCategory category)
 {
     this.statusbar.smartSearch.RemoveCategory(category);
 }
Beispiel #3
0
 public void AddSearchCategory(DebugOS.ISearchCategory category)
 {
     this.statusbar.smartSearch.AddCategory(category);
 }