private void SubmitButton_KeyDown(object sender, KeyEventArgs e) { list_functions f = new list_functions(); // if(e.Key==((Key.LeftShift)|(Key.Tab))) //{ // e.Handled = true; // PersonsNumberTextBox.Focus(); //} if ((e.Key == Key.Tab)) { e.Handled = true; PriestTextBox.Focus(); } }
private void ChurchCombo_GotFocus(object sender, RoutedEventArgs e) { PriestTextBox.Focus(); return; }