Changeset 11378 for branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ChartAnalysisView.cs
- Timestamp:
- 09/17/14 17:34:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ChartAnalysisView.cs
r11376 r11378 114 114 private void RegisterRunEvents(IEnumerable<IRun> runs) { 115 115 foreach (IRun run in runs) { 116 RegisterRunParametersEvents(run);117 116 RegisterRunResultsEvents(run); 118 117 } … … 121 120 private void DeregisterRunEvents(IEnumerable<IRun> runs) { 122 121 foreach (IRun run in runs) { 123 DeregisterRunParametersEvents(run);124 122 DeregisterRunResultsEvents(run); 125 123 } 126 }127 128 private void RegisterRunParametersEvents(IRun run) {129 IObservableDictionary<string, IItem> dict = run.Parameters;130 dict.ItemsAdded += run_Changed;131 dict.ItemsRemoved += run_Changed;132 dict.ItemsReplaced += run_Changed;133 dict.CollectionReset += run_Changed;134 124 } 135 125 … … 142 132 } 143 133 144 private void DeregisterRunParametersEvents(IRun run) {145 IObservableDictionary<string, IItem> dict = run.Parameters;146 dict.ItemsAdded -= run_Changed;147 dict.ItemsRemoved -= run_Changed;148 dict.ItemsReplaced -= run_Changed;149 dict.CollectionReset -= run_Changed;150 }151 152 134 private void DeregisterRunResultsEvents(IRun run) { 153 135 IObservableDictionary<string, IItem> dict = run.Results; … … 175 157 } 176 158 177 void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) {159 private void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) { 178 160 suppressUpdates = Content.UpdateOfRunsInProgress; 179 161 … … 196 178 197 179 #region Events 198 void DataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {180 private void DataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { 199 181 if (e.RowIndex >= 0) { 200 182 IRun run = runs[stringConvertibleMatrixView.GetRowIndex(e.RowIndex)];
Note: See TracChangeset
for help on using the changeset viewer.