- Timestamp:
- 04/16/10 03:40:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs
r2917 r3365 65 65 Caption = "Parameter"; 66 66 dataTypeTextBox.Text = "-"; 67 dataTypeTextBox.Enabled = false;68 67 } else { 69 68 Caption = Content.Name + " (" + Content.GetType().Name + ")"; 70 69 dataTypeTextBox.Text = Content.DataType.GetPrettyName(); 71 dataTypeTextBox.Enabled = true;72 70 } 71 SetEnabledStateOfControls(); 72 } 73 74 protected override void OnReadOnlyChanged() { 75 base.OnReadOnlyChanged(); 76 SetEnabledStateOfControls(); 77 } 78 79 private void SetEnabledStateOfControls() { 80 dataTypeTextBox.Enabled = Content != null; 73 81 } 74 82 }
Note: See TracChangeset
for help on using the changeset viewer.