Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/03/12 16:04:29 (12 years ago)
Author:
ascheibe
Message:

#1886 runs can now be opened in the statistical tabular view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/RunCollectionStatisticalTabularView.cs

    r8522 r8558  
    3737    public RunCollectionStatisticalTabularView() {
    3838      InitializeComponent();
     39      stringConvertibleMatrixView.DataGridView.RowHeaderMouseDoubleClick += new DataGridViewCellMouseEventHandler(DataGridView_RowHeaderMouseDoubleClick);
     40    }
     41
     42    void DataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {
     43      if (e.RowIndex >= 0) {
     44        IRun run = Content.ElementAt(e.RowIndex);
     45        IContentView view = MainFormManager.MainForm.ShowContent(run);
     46        if (view != null) {
     47          view.ReadOnly = this.ReadOnly;
     48          view.Locked = this.Locked;
     49        }
     50      }
    3951    }
    4052
Note: See TracChangeset for help on using the changeset viewer.