private void btnChangePassword_Click(object sender, RoutedEventArgs e) { if (pm.changePassword(tbPasswordLama.Password, tbPasswordBaru.Password, tbConfirmPassword.Password)) { this.Close(); } }