Changeset 3739 for trunk/sources/HeuristicLab.Problems.TestFunctions
- Timestamp:
- 05/10/10 14:18:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r3719 r3739 165 165 public event EventHandler SolutionCreatorChanged; 166 166 private void OnSolutionCreatorChanged() { 167 if (SolutionCreatorChanged != null)168 SolutionCreatorChanged(this, EventArgs.Empty);167 EventHandler handler = SolutionCreatorChanged; 168 if (handler != null) handler(this, EventArgs.Empty); 169 169 } 170 170 public event EventHandler EvaluatorChanged; 171 171 private void OnEvaluatorChanged() { 172 if (EvaluatorChanged != null)173 EvaluatorChanged(this, EventArgs.Empty);172 EventHandler handler = EvaluatorChanged; 173 if (handler != null) handler(this, EventArgs.Empty); 174 174 } 175 175 public event EventHandler OperatorsChanged; 176 176 private void OnOperatorsChanged() { 177 if (OperatorsChanged != null) 178 OperatorsChanged(this, EventArgs.Empty); 179 } 177 EventHandler handler = OperatorsChanged; 178 if (handler != null) handler(this, EventArgs.Empty); 179 } 180 public event EventHandler Reset; 181 private void OnReset() { 182 EventHandler handler = Reset; 183 if (handler != null) handler(this, EventArgs.Empty); 184 } 185 180 186 private void ProblemSizeParameter_ValueChanged(object sender, EventArgs e) { 181 187 ProblemSize.ValueChanged += new EventHandler(ProblemSize_ValueChanged);
Note: See TracChangeset
for help on using the changeset viewer.