aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/NumericControl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/NumericControl.cs')
-rw-r--r--src/GraphicObjects/NumericControl.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GraphicObjects/NumericControl.cs b/src/GraphicObjects/NumericControl.cs
index 1d4336e2..51a3fdc5 100644
--- a/src/GraphicObjects/NumericControl.cs
+++ b/src/GraphicObjects/NumericControl.cs
@@ -24,9 +24,8 @@ namespace go
public EventHandler<ValueChangeEventArgs> ValueChanged;
public virtual void onValueChanged(object sender, ValueChangeEventArgs e)
- {
- if (ValueChanged != null)
- ValueChanged (sender, e);
+ {
+ ValueChanged.Raise (sender, e);
}
#endregion