Changeset 17687 for branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.cs
- Timestamp:
- 07/19/20 19:07:40 (4 years ago)
- Location:
- branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views
- Property svn:mergeinfo changed
-
branches/1837_Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.cs
r9708 r17687 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2013Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 24 25 using System.Drawing; 25 26 using System.Linq; … … 66 67 private void RegisterRunEvents(IEnumerable<IRun> runs) { 67 68 foreach (IRun run in runs) 68 run. Changed += Run_Changed;69 run.PropertyChanged += Run_PropertyChanged; 69 70 } 70 71 private void DeregisterRunEvents(IEnumerable<IRun> runs) { 71 72 foreach (IRun run in runs) 72 run. Changed -= Run_Changed;73 run.PropertyChanged -= Run_PropertyChanged; 73 74 } 74 75 private void Content_ItemsAdded(object sender, HeuristicLab.Collections.CollectionItemsChangedEventArgs<IRun> e) { … … 88 89 if (!Content.UpdateOfRunsInProgress) UpdateData(); 89 90 } 90 private void Run_Changed(object sender, EventArgs e) { 91 if (!Content.UpdateOfRunsInProgress) UpdateData(); 91 private void Run_PropertyChanged(object sender, PropertyChangedEventArgs e) { 92 if (!Content.UpdateOfRunsInProgress && e.PropertyName == "Visible") 93 UpdateData(); 92 94 } 93 95 #endregion
Note: See TracChangeset
for help on using the changeset viewer.