Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/27/10 18:51:23 (14 years ago)
Author:
mkommend
Message:

corrected tabular view and bubble chart view (ticket #970)

Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
2 edited

Legend:

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

    r3543 r3546  
    6363      this.isSelecting = false;
    6464
    65      
     65
    6666      this.chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true;
    6767      this.chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true;
     
    293293          view.Locked = this.Locked;
    294294          view.Show();
    295         } else {
     295        } else
    296296          this.draggedRun = run;
    297           this.chart.ChartAreas[0].CursorX.SetSelectionPosition(double.NaN, double.NaN);
    298           this.chart.ChartAreas[0].CursorY.SetSelectionPosition(double.NaN, double.NaN);
    299         }
     297        this.chart.ChartAreas[0].CursorX.SetSelectionPosition(double.NaN, double.NaN);
     298        this.chart.ChartAreas[0].CursorY.SetSelectionPosition(double.NaN, double.NaN);
    300299      }
    301300    }
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionTabularView.cs

    r3449 r3546  
    100100
    101101    private void dataGridView_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) {
    102       if (e.RowIndex > 0) {
    103         IContentView view = MainFormManager.CreateDefaultView(Content.ElementAt(e.RowIndex));
     102      if (e.RowIndex >= 0) {
     103        IRun run = Content.ElementAt(virtualRowIndizes[e.RowIndex]);
     104        IContentView view = MainFormManager.CreateDefaultView(run);
    104105        if (view != null) {
    105106          view.ReadOnly = this.ReadOnly;
Note: See TracChangeset for help on using the changeset viewer.