- Timestamp:
- 04/20/10 02:02:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/BoolValueView.cs
r3362 r3430 32 32 get { return (BoolValue)base.Content; } 33 33 set { base.Content = value; } 34 } 35 36 public override bool ReadOnly { 37 get { 38 if ((Content != null) && Content.ReadOnly) return true; 39 return base.ReadOnly; 40 } 41 set { base.ReadOnly = value; } 34 42 } 35 43 … … 82 90 83 91 private void valueCheckBox_CheckedChanged(object sender, EventArgs e) { 84 Content.Value = valueCheckBox.Checked;92 if (!Content.ReadOnly) Content.Value = valueCheckBox.Checked; 85 93 } 86 94 }
Note: See TracChangeset
for help on using the changeset viewer.