Changeset 7760 for trunk/sources
- Timestamp:
- 04/25/12 12:47:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs
r7259 r7760 44 44 } 45 45 46 public override bool ReadOnly {47 get { return true; }48 set { /*not needed because runs are always readonly */}49 }50 51 46 /// <summary> 52 47 /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable". … … 83 78 listView.Enabled = Content != null; 84 79 detailsGroupBox.Enabled = (Content != null) && (listView.SelectedItems.Count == 1); 85 viewHost.Enabled = Content != null;86 viewHost.ReadOnly = ReadOnly;87 80 changeColorButton.Enabled = Content != null; 88 81 showAlgorithmButton.Enabled = Content != null && Content.Algorithm != null && !Locked; 82 } 83 84 protected override void PropagateStateChanges(Control control, Type type, System.Reflection.PropertyInfo propertyInfo) { 85 if (propertyInfo.Name == "ReadOnly") return; 86 base.PropagateStateChanges(control, type, propertyInfo); 89 87 } 90 88
Note: See TracChangeset
for help on using the changeset viewer.