Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/10 01:26:55 (13 years ago)
Author:
swagner
Message:

Trivial changes due to review of r4883 (#1284)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBoxPlotView.cs

    r4883 r4888  
    7171      Content.ItemsRemoved += new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_ItemsRemoved);
    7272      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);
    7474      RegisterRunEvents(Content);
    7575    }
     
    8181      Content.ItemsRemoved -= new HeuristicLab.Collections.CollectionItemsChangedEventHandler<IRun>(Content_ItemsRemoved);
    8282      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);
    8484      DeregisterRunEvents(Content);
    8585    }
     
    104104      RegisterRunEvents(e.Items);
    105105    }
    106     private void Content_UpdateOfRunsInProgress(object sender, EventArgs<bool> e) {
     106    private void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) {
    107107      if (InvokeRequired)
    108         Invoke(new EventHandler<EventArgs<bool>>(Content_UpdateOfRunsInProgress), sender, e);
     108        Invoke(new EventHandler(Content_UpdateOfRunsInProgressChanged), sender, e);
    109109      else {
    110         suppressUpdates = e.Value;
     110        suppressUpdates = Content.UpdateOfRunsInProgress;
    111111        if (!suppressUpdates) UpdateDataPoints();
    112112      }
     
    339339      if (this.chart.Series.Count > 0) {
    340340        noRunsLabel.Visible = false;
     341        showStatisticsCheckBox.Enabled = true;
    341342        splitContainer.Panel2Collapsed = !showStatisticsCheckBox.Checked;
    342343      } else {
    343344        noRunsLabel.Visible = true;
     345        showStatisticsCheckBox.Enabled = false;
    344346        splitContainer.Panel2Collapsed = true;
    345347      }
Note: See TracChangeset for help on using the changeset viewer.