private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     MyTextBox.Text = UserString;
     MyTextBox.Focus();
     MyTextBox.SelectAll();
 }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     MyTextBox.Document = (FlowDocument)XamlReader.Parse(UserString);
     MyTextBox.Focus();
     MyTextBox.SelectAll();
 }
Пример #3
0
 private void Выделить_все_Click(object sender, RoutedEventArgs e)
 {
     MyTextBox.SelectAll();
 }