aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs
index 7ba10fe8..65bfacb7 100644
--- a/src/GraphicObjects/TextBox.cs
+++ b/src/GraphicObjects/TextBox.cs
@@ -69,7 +69,7 @@ namespace go
public event EventHandler<TextChangeEventArgs> TextChanged;
- public virtual void onTextChanged(Object sender, TextChangeEventArgs e)
+ public virtual void OnTextChanged(Object sender, TextChangeEventArgs e)
{
TextChanged.Raise (this, e);
}
@@ -102,7 +102,7 @@ namespace go
break;
case Key.Enter:
case Key.KeypadEnter:
- onTextChanged(this,new TextChangeEventArgs(Text));
+ OnTextChanged(this,new TextChangeEventArgs(Text));
break;
case Key.Escape:
Text = "";