Changeset 11267


Ignore:
Timestamp:
08/05/14 10:12:32 (7 years ago)
Author:
pfleck
Message:

#2208 Added missing ValueChanged events for visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering.Views/3.3/OrienteeringProblemView.cs

    r11265 r11267  
    4040    protected override void DeregisterContentEvents() {
    4141      Content.CoordinatesParameter.ValueChanged -= new EventHandler(CoordinatesParameter_ValueChanged);
     42      Content.StartingPointParameter.ValueChanged -= new EventHandler(StartingPointParameter_ValueChanged);
     43      Content.TerminusPointParameter.ValueChanged -= new EventHandler(TerminusPointParameter_ValueChanged);
    4244      Content.ScoresParameter.ValueChanged -= new EventHandler(ScoresParameter_ValueChanged);
    4345      Content.BestKnownQualityParameter.ValueChanged -= new EventHandler(BestKnownQualityParameter_ValueChanged);
     
    4850      base.RegisterContentEvents();
    4951      Content.CoordinatesParameter.ValueChanged += new EventHandler(CoordinatesParameter_ValueChanged);
     52      Content.StartingPointParameter.ValueChanged += new EventHandler(StartingPointParameter_ValueChanged);
     53      Content.TerminusPointParameter.ValueChanged += new EventHandler(TerminusPointParameter_ValueChanged);
    5054      Content.ScoresParameter.ValueChanged += new EventHandler(ScoresParameter_ValueChanged);
    5155      Content.BestKnownQualityParameter.ValueChanged += new EventHandler(BestKnownQualityParameter_ValueChanged);
     
    7175      orienteeringSolutionView.Content.Coordinates = Content.Coordinates;
    7276    }
     77    private void StartingPointParameter_ValueChanged(object sender, EventArgs e) {
     78      orienteeringSolutionView.Content.StartingPoint = Content.StartingPoint;
     79    }
     80    private void TerminusPointParameter_ValueChanged(object sender, EventArgs e) {
     81      orienteeringSolutionView.Content.TerminusPoint = Content.TerminusPoint;
     82    }
    7383    private void ScoresParameter_ValueChanged(object sender, EventArgs e) {
    7484      orienteeringSolutionView.Content.Scores = Content.Scores;
Note: See TracChangeset for help on using the changeset viewer.