Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/17/14 17:34:43 (10 years ago)
Author:
ascheibe
Message:

#2031 improved correlation view and some clean ups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ChartAnalysisView.cs

    r11376 r11378  
    114114    private void RegisterRunEvents(IEnumerable<IRun> runs) {
    115115      foreach (IRun run in runs) {
    116         RegisterRunParametersEvents(run);
    117116        RegisterRunResultsEvents(run);
    118117      }
     
    121120    private void DeregisterRunEvents(IEnumerable<IRun> runs) {
    122121      foreach (IRun run in runs) {
    123         DeregisterRunParametersEvents(run);
    124122        DeregisterRunResultsEvents(run);
    125123      }
    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;
    134124    }
    135125
     
    142132    }
    143133
    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 
    152134    private void DeregisterRunResultsEvents(IRun run) {
    153135      IObservableDictionary<string, IItem> dict = run.Results;
     
    175157    }
    176158
    177     void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) {
     159    private void Content_UpdateOfRunsInProgressChanged(object sender, EventArgs e) {
    178160      suppressUpdates = Content.UpdateOfRunsInProgress;
    179161
     
    196178
    197179    #region Events
    198     void DataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {
     180    private void DataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {
    199181      if (e.RowIndex >= 0) {
    200182        IRun run = runs[stringConvertibleMatrixView.GetRowIndex(e.RowIndex)];
Note: See TracChangeset for help on using the changeset viewer.