Changeset 5601 for branches/DataAnalysis Refactoring/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
- Timestamp:
- 03/03/11 16:14:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r5445 r5601 92 92 if (value != reactOnValueToStringChangedAndValueItemImageChanged) { 93 93 reactOnValueToStringChangedAndValueItemImageChanged = value; 94 if (reactOnValueToStringChangedAndValueItemImageChanged) 94 if (reactOnValueToStringChangedAndValueItemImageChanged) { 95 95 RegisterValueEvents(); 96 else 96 OnToStringChanged(); 97 OnItemImageChanged(); 98 } else 97 99 DeregisterValueEvents(); 98 100 } … … 187 189 ((IValueParameter)this).Value = value; 188 190 } 189 191 190 192 public event EventHandler ValueChanged; 191 193 protected virtual void OnValueChanged() {
Note: See TracChangeset
for help on using the changeset viewer.