private void KeyHome(KeyEventArgs e) { TextHours.Focus(); TextHours.CaretIndex = 0; e.Handled = true; }
private void TextHours_GotFocus(object sender, RoutedEventArgs e) { lastFocus = "TextHours"; TextHours.SelectAll(); }