private void TextBox9_PreviewTextInput(object sender, TextCompositionEventArgs e) { char c = Convert.ToChar(e.Text); if (Char.IsControl(c)) { Go.Focus(); return; } e.Handled = false; }