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