- Timestamp:
- 01/04/11 02:09:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r4825 r5206 46 46 set { 47 47 if (value != this.value) { 48 OnValueChanging(); 48 49 DeregisterValueEvents(); 49 50 this.value = value; … … 187 188 ((IValueParameter)this).Value = value; 188 189 } 189 190 191 public event EventHandler ValueChanging; 192 protected virtual void OnValueChanging() { 193 EventHandler handler = ValueChanging; 194 if (handler != null) handler(this, EventArgs.Empty); 195 } 190 196 public event EventHandler ValueChanged; 191 197 protected virtual void OnValueChanged() {
Note: See TracChangeset
for help on using the changeset viewer.