- Timestamp:
- 03/15/10 23:49:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/BoolValueView.cs
r3047 r3048 26 26 27 27 namespace HeuristicLab.Data.Views { 28 [View("Bool DataView")]29 [Content(typeof(Bool Data), true)]30 public partial class Bool DataView : ItemView {31 public new Bool DataContent {32 get { return (Bool Data)base.Content; }28 [View("BoolValue View")] 29 [Content(typeof(BoolValue), true)] 30 public partial class BoolValueView : ItemView { 31 public new BoolValue Content { 32 get { return (BoolValue)base.Content; } 33 33 set { base.Content = value; } 34 34 } 35 35 36 public Bool DataView() {36 public BoolValueView() { 37 37 InitializeComponent(); 38 Caption = "Bool DataView";38 Caption = "BoolValue View"; 39 39 } 40 public Bool DataView(BoolDatacontent)40 public BoolValueView(BoolValue content) 41 41 : this() { 42 42 Content = content; … … 56 56 base.OnContentChanged(); 57 57 if (Content == null) { 58 Caption = "Bool DataView";58 Caption = "BoolValue View"; 59 59 valueCheckBox.Checked = false; 60 60 valueCheckBox.Enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.