private void Window_ContentRendered(object sender, EventArgs e) { AddName.SelectAll(); AddName.Focus(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { AddName.Focus(); }