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