or
Public
Sub
New
()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
AddHandler
txtMyCommandTextBox.KeyDown,
AddressOf
txtMyCommandTextBox_KeyDown
AddHandler
txtMyCommandTextBox.KeyPress,
AddressOf
txtMyCommandTextBox_KeyPress
AddHandler
txtMyCommandTextBox.KeyUp,
AddressOf
txtMyCommandTextBox_KeyUp
End
Sub
Private
Sub
txtMyCommandTextBox_KeyDown(
ByVal
sender
As
Object
,
ByVal
e
As
System.Windows.Forms.KeyEventArgs)
RadMessageBox.Show(e.KeyCode)
End
Sub
Private
Sub
txtMyCommandTextBox_KeyPress(
ByVal
sender
As
Object
,
ByVal
e
As
System.Windows.Forms.KeyPressEventArgs)
RadMessageBox.Show(e.KeyChar)
End
Sub
Private
Sub
txtMyCommandTextBox_KeyUp(
ByVal
sender
As
System.
Object
,
ByVal
e
As
System.Windows.Forms.KeyEventArgs)
RadMessageBox.Show(e.KeyCode)
End
Sub
Dim descriptor As New GroupDescriptor() descriptor.GroupNames.Add("Country", ListSortDirection.Ascending) Me.RadGridView1.GroupDescriptors.Add(descriptor)