コード例 #1
0
ファイル: AssExpExtension.cs プロジェクト: jsren/DebugOS
        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");
        }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: jsren/DebugOS
 public void RemoveSearchCategory(DebugOS.ISearchCategory category)
 {
     this.statusbar.smartSearch.RemoveCategory(category);
 }
コード例 #3
0
ファイル: MainWindow.xaml.cs プロジェクト: jsren/DebugOS
 public void AddSearchCategory(DebugOS.ISearchCategory category)
 {
     this.statusbar.smartSearch.AddCategory(category);
 }