Esempio n. 1
0
 private void NavigateTo_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     DatabaseDirectory.SetCurrentValue(TextBox.TextProperty, e.Parameter);
     DatabaseDirectory.Focus();
     DatabaseDirectory.SelectAll();
     e.Handled = true;
 }
Esempio n. 2
0
 private void DatabaseDirectory_SubDirs_PreviewGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
 {
     DatabaseDirectory.Focus();
     e.Handled = true;
 }