Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/13 16:47:11 (11 years ago)
Author:
sforsten
Message:

#2018:

  • renamed the structs and methods in IStringConvertibleMatrix
  • added MatrixValuesChangedEventArgs in IStringConvertibleMatrix
  • added methods SetValues(MatrixValues<T>) in ValueTypeMatrix
  • fixed bugs in StringConvertibleMatrixView: DataGridView has now at least one column and dataGridView_CellValidating does not set e.Cancel to true anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionSolution.cs

    r9286 r9306  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    2524using HeuristicLab.Collections;
     
    237236    }
    238237    private void RegisterBoundsEvents() {
    239       Bounds.ItemsChanged += new EventHandler<EventArgs<IEnumerable<Position>>>(Bounds_ItemChanged);
     238      Bounds.ItemsChanged += new EventHandler<MatrixValuesChangedEventArgs>(Bounds_ItemChanged);
    240239      Bounds.Reset += new EventHandler(Bounds_Reset);
    241240    }
    242241    private void DeregisterBoundsEvents() {
    243       Bounds.ItemsChanged -= new EventHandler<EventArgs<IEnumerable<Position>>>(Bounds_ItemChanged);
     242      Bounds.ItemsChanged -= new EventHandler<MatrixValuesChangedEventArgs>(Bounds_ItemChanged);
    244243      Bounds.Reset -= new EventHandler(Bounds_Reset);
    245244    }
     
    269268      OnPopulationChanged();
    270269    }
    271     private void Bounds_ItemChanged(object sender, EventArgs<IEnumerable<Position>> e) {
     270    private void Bounds_ItemChanged(object sender, MatrixValuesChangedEventArgs e) {
    272271      OnBoundsChanged();
    273272    }
Note: See TracChangeset for help on using the changeset viewer.