コード例 #1
0
ファイル: Connect.xaml.cs プロジェクト: jwozny/CentralControl
 /// <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;
 }
コード例 #2
0
 /// <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();
 }