private void btnLogin_Click(object sender, RoutedEventArgs e) { Debug.Print("Login Click"); string username = this.txtUsername.Text; string password = this.txtPassword.Password; //verify login AuthService.AuthServiceClient client = new AuthServiceClient(); VerifyUserResponse response = client.VerifyUser(new VerifyUserRequest(username, password)); if (response.VerifyUserResult.success) { ClearMessageLabel(); //transition to main form NavigationService.GetNavigationService(this).Navigate(new Dashboard()); } else { SetMessageLabel("Invalid Username/Password Combination"); } }