I want to create a myTextBox because a TextBox cannot shift the mouse focus by typing Enter.
I wrote down the following code after going through some C# related material:
Code: Select all
Using System
Using System.Collections.Generic
Using System.ComponentModel
Using System.Linq
Using System.Text
Using System.Drawing
Using System.Windows.Forms
Begin Namespace myBaseClass
/// <summary>
/// The myTextBox class.
/// </summary>
Define Class myTextBox As TextBox
Procedure OnKeyDown(KeyEventArgs e)
Endproc
Enddefine
End Namespace
XS1003 Syntax error, 'END NAMESPACE' expected
XS9002 Parser: unexpected input 'e'
I need help.