aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-06-22 12:48:11 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-06-22 12:48:11 +0200
commit8c99bee3d98f7c3221e969c2924d87729ba7faea (patch)
treea9d397745c633f2306762e740486da8413b84223 /src/GraphicObjects/TextBox.cs
parentdc995bd1da98971009454f4efe043d6237d00729 (diff)
- simplify value change with only actual value, not the old one
- First tests with Scrollbar
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 = "";