- Timestamp:
- 04/16/10 03:40:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters.Views/3.3/LookupParameterView.cs
r2917 r3365 83 83 Caption = "LookupParameter"; 84 84 actualNameTextBox.Text = "-"; 85 actualNameTextBox.Enabled = false;86 85 } else { 87 86 Caption = Content.Name + " (" + Content.GetType().Name + ")"; 88 87 actualNameTextBox.Text = Content.ActualName; 89 actualNameTextBox.Enabled = true;90 88 } 89 SetEnabledStateOfControls(); 90 } 91 92 protected override void OnReadOnlyChanged() { 93 base.OnReadOnlyChanged(); 94 SetEnabledStateOfControls(); 95 } 96 97 private void SetEnabledStateOfControls() { 98 actualNameTextBox.Enabled = Content != null; 99 actualNameTextBox.ReadOnly = ReadOnly; 91 100 } 92 101
Note: See TracChangeset
for help on using the changeset viewer.