- Timestamp:
- 03/11/13 16:47:11 (12 years ago)
- Location:
- branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.TestFunctions/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r9286 r9306 183 183 UpdateStrategyVectorBounds(); 184 184 } 185 private void Bounds_ItemChanged(object sender, EventArgs<IEnumerable<Position>>e) {185 private void Bounds_ItemChanged(object sender, MatrixValuesChangedEventArgs e) { 186 186 foreach (var pos in e.Value) { 187 187 if (pos.Column == 0 && Bounds[pos.Row, 1] <= Bounds[pos.Row, 0]) … … 242 242 BoundsParameter.ValueChanged += new EventHandler(BoundsParameter_ValueChanged); 243 243 Bounds.ToStringChanged += new EventHandler(Bounds_ToStringChanged); 244 Bounds.ItemsChanged += new EventHandler< EventArgs<IEnumerable<Position>>>(Bounds_ItemChanged);244 Bounds.ItemsChanged += new EventHandler<MatrixValuesChangedEventArgs>(Bounds_ItemChanged); 245 245 SolutionCreator.RealVectorParameter.ActualNameChanged += new EventHandler(SolutionCreator_RealVectorParameter_ActualNameChanged); 246 246 Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged); -
branches/ImprovingStringConvertibleMatrix/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionSolution.cs
r9286 r9306 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 24 using HeuristicLab.Collections; … … 237 236 } 238 237 private void RegisterBoundsEvents() { 239 Bounds.ItemsChanged += new EventHandler< EventArgs<IEnumerable<Position>>>(Bounds_ItemChanged);238 Bounds.ItemsChanged += new EventHandler<MatrixValuesChangedEventArgs>(Bounds_ItemChanged); 240 239 Bounds.Reset += new EventHandler(Bounds_Reset); 241 240 } 242 241 private void DeregisterBoundsEvents() { 243 Bounds.ItemsChanged -= new EventHandler< EventArgs<IEnumerable<Position>>>(Bounds_ItemChanged);242 Bounds.ItemsChanged -= new EventHandler<MatrixValuesChangedEventArgs>(Bounds_ItemChanged); 244 243 Bounds.Reset -= new EventHandler(Bounds_Reset); 245 244 } … … 269 268 OnPopulationChanged(); 270 269 } 271 private void Bounds_ItemChanged(object sender, EventArgs<IEnumerable<Position>>e) {270 private void Bounds_ItemChanged(object sender, MatrixValuesChangedEventArgs e) { 272 271 OnBoundsChanged(); 273 272 }
Note: See TracChangeset
for help on using the changeset viewer.