Ejemplo n.º 1
0
 private void HidePassword()
 {
     ImgShowHide.Source = ImageConverter.GetBitmapSource(Properties.Resources.Show);
     TextVisiblePasswordBox.Visibility = Visibility.Hidden;
     TextPasswordBox.Visibility        = Visibility.Visible;
     TextPasswordBox.Focus();
 }
Ejemplo n.º 2
0
 private void HintTextBoxGotFocus(object sender, RoutedEventArgs e)
 {
     HintTextBox.Visibility = Visibility.Collapsed;
     if (TextPasswordBox.Visibility == Visibility.Visible)
     {
         TextPasswordBox.Focus();
     }
     else
     {
         TextVisiblePasswordBox.Focus();
     }
 }
Ejemplo n.º 3
0
 public void Clear()
 {
     TextPasswordBox.Clear();
     TextVisiblePasswordBox.Clear();
 }