Changeset 11268
- Timestamp:
- 08/05/14 10:43:57 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering.Views/3.3/OrienteeringSolutionView.cs
r11266 r11268 42 42 Content.QualityChanged -= new EventHandler(Content_QualityChanged); 43 43 Content.CoordinatesChanged -= new EventHandler(Content_CoordinatesChanged); 44 Content.StartingPointChanged -= new EventHandler(Content_StartingPointChanged); 45 Content.TerminusPointChanged -= new EventHandler(Content_TerminusPointChanged); 44 46 Content.ScoresChanged -= new EventHandler(Content_ScoresChanged); 45 47 Content.IntegerVectorChanged -= new EventHandler(Content_IntegerVectorChanged); … … 50 52 Content.QualityChanged += new EventHandler(Content_QualityChanged); 51 53 Content.CoordinatesChanged += new EventHandler(Content_CoordinatesChanged); 54 Content.StartingPointChanged += new EventHandler(Content_StartingPointChanged); 55 Content.TerminusPointChanged += new EventHandler(Content_TerminusPointChanged); 52 56 Content.ScoresChanged += new EventHandler(Content_ScoresChanged); 53 57 Content.IntegerVectorChanged += new EventHandler(Content_IntegerVectorChanged); … … 153 157 GenerateImage(); 154 158 } 159 private void Content_StartingPointChanged(object sender, EventArgs e) { 160 if (InvokeRequired) 161 Invoke(new EventHandler(Content_StartingPointChanged), sender, e); 162 else 163 GenerateImage(); 164 } 165 private void Content_TerminusPointChanged(object sender, EventArgs e) { 166 if (InvokeRequired) 167 Invoke(new EventHandler(Content_TerminusPointChanged), sender, e); 168 else 169 GenerateImage(); 170 } 155 171 private void Content_ScoresChanged(object sender, EventArgs e) { 156 172 if (InvokeRequired)
Note: See TracChangeset
for help on using the changeset viewer.