- Timestamp:
- 03/11/13 16:47:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Optimization/3.3/RunCollection.cs
r9286 r9306 324 324 } 325 325 326 public event EventHandler< EventArgs<IEnumerable<Position>>> ItemsChanged;326 public event EventHandler<MatrixValuesChangedEventArgs> ItemsChanged; 327 327 protected virtual void OnItemsChanged(int rowIndex, int columnIndex) { 328 EventHandler< EventArgs<IEnumerable<Position>>> handler = ItemsChanged;329 if (handler != null) handler(this, new EventArgs<IEnumerable<Position>>(new List<Position>(1) { newPosition(rowIndex, columnIndex) }));328 EventHandler<MatrixValuesChangedEventArgs> handler = ItemsChanged; 329 if (handler != null) handler(this, new MatrixValuesChangedEventArgs(new List<MatrixPosition>(1) { new MatrixPosition(rowIndex, columnIndex) })); 330 330 OnToStringChanged(); 331 331 } … … 364 364 public bool Validate(string value, out string errorMessage) { throw new NotSupportedException(); } 365 365 public bool SetValue(string value, int rowIndex, int columnIndex) { throw new NotSupportedException(); } 366 public bool SetValue( RowColumnValuerowColumnValue) { throw new NotSupportedException(); }367 public bool SetValue (IEnumerable<RowColumnValue> rowColumnValues) { throw new NotSupportedException(); }366 public bool SetValue(MatrixValue<string> rowColumnValue) { throw new NotSupportedException(); } 367 public bool SetValues(IEnumerable<MatrixValue<string>> rowColumnValues) { throw new NotSupportedException(); } 368 368 #endregion 369 369
Note: See TracChangeset
for help on using the changeset viewer.