- Timestamp:
- 11/22/10 01:26:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBoxPlotView.cs
r4883 r4888 71 71 Content.ItemsRemoved += new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_ItemsRemoved); 72 72 Content.CollectionReset += new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_CollectionReset); 73 Content.UpdateOfRunsInProgress += new EventHandler<EventArgs<bool>>(Content_UpdateOfRunsInProgress);73 Content.UpdateOfRunsInProgressChanged += new EventHandler(Content_UpdateOfRunsInProgressChanged); 74 74 RegisterRunEvents(Content); 75 75 } … … 81 81 Content.ItemsRemoved -= new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_ItemsRemoved); 82 82 Content.CollectionReset -= new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_CollectionReset); 83 Content.UpdateOfRunsInProgress -= new EventHandler<EventArgs<bool>>(Content_UpdateOfRunsInProgress);83 Content.UpdateOfRunsInProgressChanged -= new EventHandler(Content_UpdateOfRunsInProgressChanged); 84 84 DeregisterRunEvents(Content); 85 85 } … … 104 104 RegisterRunEvents(e.Items); 105 105 } 106 private void Content_UpdateOfRunsInProgress (object sender, EventArgs<bool>e) {106 private void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) { 107 107 if (InvokeRequired) 108 Invoke(new EventHandler <EventArgs<bool>>(Content_UpdateOfRunsInProgress), sender, e);108 Invoke(new EventHandler(Content_UpdateOfRunsInProgressChanged), sender, e); 109 109 else { 110 suppressUpdates = e.Value;110 suppressUpdates = Content.UpdateOfRunsInProgress; 111 111 if (!suppressUpdates) UpdateDataPoints(); 112 112 } … … 339 339 if (this.chart.Series.Count > 0) { 340 340 noRunsLabel.Visible = false; 341 showStatisticsCheckBox.Enabled = true; 341 342 splitContainer.Panel2Collapsed = !showStatisticsCheckBox.Checked; 342 343 } else { 343 344 noRunsLabel.Visible = true; 345 showStatisticsCheckBox.Enabled = false; 344 346 splitContainer.Panel2Collapsed = true; 345 347 }
Note: See TracChangeset
for help on using the changeset viewer.