/// <summary>
 /// Fired when the hide animation is complete
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void HideDialog_Completed(object sender, object e)
 {
     RateAndFeedbackClosed args = new RateAndFeedbackClosed()
     {
         WasFeedbackGiven = m_wasFeedbackGiven,
         WasReviewGiven = m_wasReviewGiven
     };
     m_onHideComplete.Raise(this, args);
 }
        /// <summary>
        /// Fired when the hide animation is complete
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void HideDialog_Completed(object sender, object e)
        {
            RateAndFeedbackClosed args = new RateAndFeedbackClosed()
            {
                WasFeedbackGiven = m_wasFeedbackGiven,
                WasReviewGiven   = m_wasReviewGiven
            };

            m_onHideComplete.Raise(this, args);
        }
Beispiel #3
0
        /// <summary>
        /// Fired when the review box is hidden
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ReviewPopup_OnHideComplete(object sender, RateAndFeedbackClosed e)
        {
            // Remove it
            ui_mainHolder.Children.Remove((RateAndFeedbackPopUp)sender);

            // Set the rate value
            if(e.WasReviewGiven)
            {
                // Assume they rated the app. Set this to be huge.
                App.BaconMan.UiSettingsMan.MainPage_NextReviewAnnoy = int.MaxValue;
            }
        }