Пример #1
0
 private void KeyHome(KeyEventArgs e)
 {
     TextHours.Focus();
     TextHours.CaretIndex = 0;
     e.Handled            = true;
 }
Пример #2
0
 private void TextHours_GotFocus(object sender, RoutedEventArgs e)
 {
     lastFocus = "TextHours";
     TextHours.SelectAll();
 }