Enter Password:
//File:Window.xaml.vb
Imports System.Windows
Namespace WpfApplication1
Public Partial Class Window1
Inherits Window
Public Sub New()
InitializeComponent()
End Sub
Private Sub button1_Click(sender As Object, e As RoutedEventArgs)
MessageBox.Show("Password entered: " + passwordBox.Password, Title)
End Sub
End Class
End Namespace