Changeset 3712
- Timestamp:
- 05/07/10 23:57:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs
r3616 r3712 50 50 protected override void DeregisterContentEvents() { 51 51 Content.CoordinatesParameter.ValueChanged -= new EventHandler(CoordinatesParameter_ValueChanged); 52 Content.BestKnownQualityParameter.ValueChanged -= new EventHandler(BestKnownQualityParameter_ValueChanged); 52 53 Content.BestKnownSolutionParameter.ValueChanged -= new EventHandler(BestKnownSolutionParameter_ValueChanged); 53 54 base.DeregisterContentEvents(); … … 56 57 base.RegisterContentEvents(); 57 58 Content.CoordinatesParameter.ValueChanged += new EventHandler(CoordinatesParameter_ValueChanged); 59 Content.BestKnownQualityParameter.ValueChanged += new EventHandler(BestKnownQualityParameter_ValueChanged); 58 60 Content.BestKnownSolutionParameter.ValueChanged += new EventHandler(BestKnownSolutionParameter_ValueChanged); 59 61 } … … 101 103 pathTSPTourView.Content.Coordinates = Content.Coordinates; 102 104 } 105 private void BestKnownQualityParameter_ValueChanged(object sender, EventArgs e) { 106 pathTSPTourView.Content.Quality = Content.BestKnownQuality; 107 } 103 108 private void BestKnownSolutionParameter_ValueChanged(object sender, EventArgs e) { 104 109 pathTSPTourView.Content.Permutation = Content.BestKnownSolution;
Note: See TracChangeset
for help on using the changeset viewer.