Changeset 3164 for trunk/sources/HeuristicLab.Problems.OneMax.Views
- Timestamp:
- 03/22/10 10:33:44 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.OneMax.Views/3.3
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.OneMax.Views/3.3/OneMaxProblemView.Designer.cs
r3163 r3164 1 1 namespace HeuristicLab.Problems.OneMax.Views { 2 partial class OneMax View {2 partial class OneMaxProblemView { 3 3 /// <summary> 4 4 /// Required designer variable. -
trunk/sources/HeuristicLab.Problems.OneMax.Views/3.3/OneMaxProblemView.cs
r3163 r3164 10 10 11 11 namespace HeuristicLab.Problems.OneMax.Views { 12 [View("OneMax View")]13 [Content(typeof(OneMax ), true)]14 public partial class OneMax View : ProblemView {15 public new OneMax Content {16 get { return (OneMax )base.Content; }12 [View("OneMaxProblem View")] 13 [Content(typeof(OneMaxProblem), true)] 14 public partial class OneMaxProblemView : ProblemView { 15 public new OneMaxProblem Content { 16 get { return (OneMaxProblem)base.Content; } 17 17 set { base.Content = value; } 18 18 } … … 21 21 /// Initializes a new instance of <see cref="ItemBaseView"/>. 22 22 /// </summary> 23 public OneMax View() {23 public OneMaxProblemView() { 24 24 InitializeComponent(); 25 25 } … … 28 28 /// </summary> 29 29 /// <param name="item">The item that should be displayed.</param> 30 public OneMax View(OneMaxcontent)30 public OneMaxProblemView(OneMaxProblem content) 31 31 : this() { 32 32 Content = content;
Note: See TracChangeset
for help on using the changeset viewer.