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"); }
public void RemoveSearchCategory(DebugOS.ISearchCategory category) { this.statusbar.smartSearch.RemoveCategory(category); }
public void AddSearchCategory(DebugOS.ISearchCategory category) { this.statusbar.smartSearch.AddCategory(category); }