- Timestamp:
- 06/08/10 17:46:53 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/PathTSPTourView.cs
r3693 r3904 71 71 tourViewHost.Content = Content.Permutation; 72 72 } 73 SetEnabledStateOfControls();74 73 } 75 74 … … 79 78 } 80 79 81 private void SetEnabledStateOfControls() { 80 protected override void SetEnabledStateOfControls() { 81 base.SetEnabledStateOfControls(); 82 82 qualityGroupBox.Enabled = Content != null; 83 83 pictureBox.Enabled = Content != null; -
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs
r3758 r3904 71 71 pathTSPTourView.Content = new PathTSPTour(Content.Coordinates, Content.BestKnownSolution, Content.BestKnownQuality); 72 72 } 73 SetEnabledStateOfControls();74 73 } 75 74 76 protected override void OnReadOnlyChanged() { 77 base.OnReadOnlyChanged(); 78 SetEnabledStateOfControls(); 79 } 80 81 private void SetEnabledStateOfControls() { 75 protected override void SetEnabledStateOfControls() { 76 base.SetEnabledStateOfControls(); 82 77 parameterCollectionView.Enabled = Content != null; 83 78 pathTSPTourView.Enabled = Content != null;
Note: See TracChangeset
for help on using the changeset viewer.