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