Ejemplo n.º 1
0
 private void OkButton_Click(object sender, RoutedEventArgs e)
 {
     if (vaultFileName != null &&
         VaultManager.IsValidPassword(passwordBox.Password))
     {
         CloseMyself();
     }
     else
     {
         MessageBox.Show("You must enter a valid password");
     }
 }