Esempio n. 1
0
        private void pbContrasena_PasswordChanged(object sender, RoutedEventArgs e)
        {
            PasswordBox pBox = (PasswordBox)(sender);

            PasswordBoxMVVMAttachedProperties.SetEncryptedPassword(pBox, pBox.SecurePassword);
        }
Esempio n. 2
0
        private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e)
        {
            var pBox = sender as PasswordBox;

            PasswordBoxMVVMAttachedProperties.SetEncryptedPassword(pBox, pBox.SecurePassword);
        }