예제 #1
0
 /// <summary>
 /// Select all text in the password box when getting focus
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AD_PasswordBox_GotFocus(object sender, RoutedEventArgs e)
 {
     AD_PasswordBox.SelectAll();
     AD_PasswordBox.Style = FindResource("PasswordBox") as Style;
 }
예제 #2
0
 /// <summary>
 /// Select all text in the AD password box when getting focus
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AD_PasswordBox_GotFocus(object sender, RoutedEventArgs e)
 {
     AD_PasswordBox.SelectAll();
 }