示例#1
0
 public void RedrawContent()
 {
     runningThreadsList.ClearColumns();
     runningThreadsList.AddColumn(ResourceService.GetString("Global.ID"),
                                  new Binding {
         Path = new PropertyPath("ID")
     },
                                  100);
     runningThreadsList.AddColumn(ResourceService.GetString("Global.Name"),
                                  new Binding {
         Path = new PropertyPath("Name")
     },
                                  300);
     runningThreadsList.AddColumn(ResourceService.GetString("AddIns.HtmlHelp2.Location"),
                                  new Binding {
         Path = new PropertyPath("Location")
     },
                                  250);
     runningThreadsList.AddColumn(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Priority"),
                                  new Binding {
         Path = new PropertyPath("Priority")
     },
                                  120);
     runningThreadsList.AddColumn(ResourceService.GetString("MainWindow.Windows.Debug.Threads.Frozen"),
                                  new Binding {
         Path = new PropertyPath("Frozen")
     },
                                  80);
 }
示例#2
0
 public void RedrawContent()
 {
     loadedModulesList.ClearColumns();
     loadedModulesList.AddColumn(StringParser.Parse("${res:Global.Name}"),
                                 new Binding {
         Path = new PropertyPath("Name")
     }, 250);
     loadedModulesList.AddColumn(StringParser.Parse("${res:MainWindow.Windows.Debug.Modules.AddressColumn}"),
                                 new Binding {
         Path = new PropertyPath("Address")
     }, 100);
     loadedModulesList.AddColumn(StringParser.Parse("${res:Global.Path}"),
                                 new Binding {
         Path = new PropertyPath("Path")
     }, 250);
     loadedModulesList.AddColumn(StringParser.Parse("${res:MainWindow.Windows.Debug.Modules.OrderColumn}"),
                                 new Binding {
         Path = new PropertyPath("Order")
     }, 80);
     loadedModulesList.AddColumn(StringParser.Parse("${res:MainWindow.Windows.Debug.Modules.SymbolsColumn}"),
                                 new Binding {
         Path = new PropertyPath("Symbols")
     }, 130);
 }