Changeset 2932 for trunk/sources/HeuristicLab.Data/3.3/ValueTypeData.cs
- Timestamp:
- 03/05/10 03:07:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/3.3/ValueTypeData.cs
r2790 r2932 38 38 if (!value.Equals(this.value)) { 39 39 this.value = value; 40 On Changed();40 OnValueChanged(); 41 41 } 42 42 } … … 59 59 return value.ToString(); 60 60 } 61 62 public event EventHandler ValueChanged; 63 protected virtual void OnValueChanged() { 64 if (ValueChanged != null) 65 ValueChanged(this, EventArgs.Empty); 66 OnToStringChanged(); 67 } 61 68 } 62 69 }
Note: See TracChangeset
for help on using the changeset viewer.