private void btnLogin_Click(object sender, RoutedEventArgs e) { ShowLoading(); ValidateCredential(); }