protected CtlKeyUpHandler ( object sender, |
||
sender | object | The object that notified of the event |
e | Attached arguments regarding the event | |
Résultat | void |
protected void CtlKeyUpHandler(object sender, KeyEventArgs e)
{
if (e.KeyCode != Keys.Enter) return;
if (IsMultiLineTextBox()) return;
e.Handled = true;
SetFocusOnNextControl();
}