private void SetModel(Model model) { if (model != Analyzer.Model) { AnalyzerResultsTreeModel.Clear(); btnRefresh.Enabled = model != null; Analyzer.Model = model; toolStripStatusLabel1.Text = ""; AnalyzerResultsTreeModel.UpdateComplete += AnalyzerResultsTreeModel_UpdateComplete; } }
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; } }