I made a login form with XAML and here is the code for when the password is wrong
private void Button_Click(object sender, RoutedEventArgs e) {