Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/13 16:47:11 (12 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.ArtificialAnt/3.4/AntTrail.cs

    r9286 r9306  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    2524using HeuristicLab.Common;
     
    141140
    142141    private void RegisterWorldEvents() {
    143       World.ItemsChanged += new EventHandler<EventArgs<IEnumerable<Position>>>(World_ItemChanged);
     142      World.ItemsChanged += new EventHandler<MatrixValuesChangedEventArgs>(World_ItemChanged);
    144143      World.Reset += new EventHandler(World_Reset);
    145144    }
    146145    private void DeregisterWorldEvents() {
    147       World.ItemsChanged -= new EventHandler<EventArgs<IEnumerable<Position>>>(World_ItemChanged);
     146      World.ItemsChanged -= new EventHandler<MatrixValuesChangedEventArgs>(World_ItemChanged);
    148147      World.Reset -= new EventHandler(World_Reset);
    149148    }
     
    158157      OnMaxTimeStepsChanged();
    159158    }
    160     private void World_ItemChanged(object sender, EventArgs<IEnumerable<Position>> e) {
     159    private void World_ItemChanged(object sender, MatrixValuesChangedEventArgs e) {
    161160      OnWorldChanged();
    162161    }
Note: See TracChangeset for help on using the changeset viewer.