コード例 #1
0
        private void pbContrasena_PasswordChanged(object sender, RoutedEventArgs e)
        {
            PasswordBox pBox = (PasswordBox)(sender);

            PasswordBoxMVVMAttachedProperties.SetEncryptedPassword(pBox, pBox.SecurePassword);
        }
コード例 #2
0
        private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e)
        {
            var pBox = sender as PasswordBox;

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