Пример #1
0
 private void SetModel(Model model)
 {
     if (model != Analyzer.Model)
     {
         AnalyzerResultsTreeModel.Clear();
         btnRefresh.Enabled         = model != null;
         Analyzer.Model             = model;
         toolStripStatusLabel1.Text = "";
         AnalyzerResultsTreeModel.UpdateComplete += AnalyzerResultsTreeModel_UpdateComplete;
     }
 }
Пример #2
0
 private void SetModel(Model model)
 {
     if (model != Analyzer.Model)
     {
         AnalyzerResultsTreeModel.Clear();
         btnRefresh.Enabled = model != null;
         Analyzer.SetModel(model, UIController.Current?.File_Directory);
         toolStripStatusLabel1.Text = "";
         AnalyzerResultsTreeModel.UpdateComplete += AnalyzerResultsTreeModel_UpdateComplete;
     }
 }