Changeset 13626 for trunk/sources
- Timestamp:
- 02/19/16 10:15:35 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Programmable/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs
r12616 r13626 71 71 private void RegisterEvents() { 72 72 ProblemScript.ProblemDefinitionChanged += (o, e) => OnProblemDefinitionChanged(); 73 ProblemScript.NameChanged += (o, e) => OnProblemScriptNameChanged(); 73 74 } 74 75 … … 80 81 OnOperatorsChanged(); 81 82 OnReset(); 83 } 84 protected override void OnNameChanged() { 85 base.OnNameChanged(); 86 ProblemScript.Name = Name; 87 } 88 private void OnProblemScriptNameChanged() { 89 Name = ProblemScript.Name; 82 90 } 83 91 -
trunk/sources/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs
r12616 r13626 74 74 private void RegisterEvents() { 75 75 ProblemScript.ProblemDefinitionChanged += (o, e) => OnProblemDefinitionChanged(); 76 ProblemScript.NameChanged += (o, e) => OnProblemScriptNameChanged(); 76 77 } 77 78 … … 83 84 OnOperatorsChanged(); 84 85 OnReset(); 86 } 87 protected override void OnNameChanged() { 88 base.OnNameChanged(); 89 ProblemScript.Name = Name; 90 } 91 private void OnProblemScriptNameChanged() { 92 Name = ProblemScript.Name; 85 93 } 86 94
Note: See TracChangeset
for help on using the changeset viewer.