Example #1
0
 /// <summary>
 /// Select all text in the domain box when getting focus
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AD_DomainTextBox_GotFocus(object sender, RoutedEventArgs e)
 {
     AD_DomainTextBox.SelectAll();
     AD_DomainTextBox.Style = FindResource("TextBox") as Style;
 }
 /// <summary>
 /// Select all text in the AD Domain box when getting focus
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AD_DomainTextBox_GotFocus(object sender, RoutedEventArgs e)
 {
     AD_DomainTextBox.SelectAll();
 }