private void RateReminder_TryReminderCompleted(object sender, AppPromo.RateReminderResult e) { if (e.Runs == RateReminder.RunsBeforeReminder && !e.RatingShown) { RateReminder.RunsBeforeReminder *= 2; RateReminder.ResetCounters(); } }
private void ResetCountersButton_Click(object sender, RoutedEventArgs e) { RateReminder.ResetCounters(); DaysLabel.Text = "0"; RunsLabel.Text = "0"; ReminderLabel.Text = NotShownText; RatingLabel.Text = NotShownText; ResetBlock.Text = "Counters Reset"; }
private void RateReminder_TryReminderCompleted(object sender, AppPromo.RateReminderResult e) { if (e.Runs == RateReminder.RunsBeforeReminder) { IsTryReminderCompleted = true; adsMob = new PhotoPuzzle.Advertising.AdsMob(); if (!e.RatingShown) { RateReminder.RunsBeforeReminder *= 2; RateReminder.ResetCounters(); } } }