Changeset 13013 for branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionProgramView.cs
- Timestamp:
- 10/15/15 16:39:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/SolutionProgramView.cs
r13011 r13013 22 22 using HeuristicLab.Core.Views; 23 23 using HeuristicLab.MainForm; 24 using HeuristicLab.Problems.GeneticProgramming.Robo Code;24 using HeuristicLab.Problems.GeneticProgramming.Robocode; 25 25 26 namespace HeuristicLab.Problems.GeneticProgramming.Views.Robo Code {26 namespace HeuristicLab.Problems.GeneticProgramming.Views.Robocode { 27 27 [View("Robocode Tank Program Tree View")] 28 28 [Content(typeof(Solution), IsDefaultView = false)] … … 39 39 protected override void OnContentChanged() { 40 40 base.OnContentChanged(); 41 if (Content == null) { 42 graphTreeView.Content = null; 43 } else { 44 graphTreeView.Content = Content.Tree; 45 } 41 graphTreeView.Content = Content == null ? null : Content.Tree; 46 42 } 47 43 }
Note: See TracChangeset
for help on using the changeset viewer.