Пример #1
0
 private void Window_Activated(object sender, EventArgs e)
 {
     TxtInput.Focus();
     TxtInput.SelectAll();
 }
Пример #2
0
        } // end method InitialiseControlStatus 

        // select all in the specified text box
        private void SelectText()
        {
            TxtInput.Select();
            TxtInput.SelectAll();
        } // end method SelectText
Пример #3
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     TxtInput.Focus();
     TxtInput.SelectAll();
 }