Example #1
0
 private void Window_Activated(object sender, EventArgs e)
 {
     TxtInput.Focus();
     TxtInput.SelectAll();
 }
        } // end method InitialiseControlStatus 

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