|
using System.Windows;
namespace SecureWpfLogOn
{
/// <summary>
/// Interaction logic for SecurePasswordBoxExample.xaml
/// </summary>
public partial class SecurePasswordBoxExample : Window
{
public SecurePasswordBoxExample()
{
InitializeComponent();
securePasswordBox1.Text = "ciaobello";
}
private void btnLogin_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("You have inserted \"" + securePasswordBox1.Text + "\" password");
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.