private void Window_PreviewKeyDown(object sender, KeyEventArgs ) { switch (e.Key) { case Key.F3: myTextBox1.Focus(); break; case Key.F4: myTextBox2.Focus(); break; default: break; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)