Пример #1
0
 /// <summary>
 /// Check user name and password after button click - if true - login.
 /// </summary>
 private void loginButton_Click(object sender, RoutedEventArgs e)
 {
     LoginUser.CheckIdentity((string)nameData.SelectedValue, passwordField.Password);
     passwordField.Clear();
 }