Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void reminder_ReminderClosed(object sender, ReminderClosedEventArgs e)
 {
     if (e.MessageBoxEventArgs.IsCheckBoxChecked)
     {
         IsolatedStorageSettings.ApplicationSettings["RemindAgain"] = "1";
     }
 }
Пример #2
0
        async void rateReminder_ReminderClosed(object sender, ReminderClosedEventArgs e)
        {
            if (e.MessageBoxEventArgs.Result == DialogResult.Cancel)
            {
                var eArgs = await RadMessageBox.ShowAsync(buttonsContent : new List <object>()
                {
                    Shane.Church.StirlingBirthday.Strings.Resources.GiveFeedbackButton, Shane.Church.StirlingBirthday.Strings.Resources.NoThanksButton
                },
                                                          title : Shane.Church.StirlingBirthday.Strings.Resources.FeedbackTitle,
                                                          message : Shane.Church.StirlingBirthday.Strings.Resources.FeedbackContent);

                if (eArgs.ButtonIndex == 0)
                {
                    EmailComposeTask emailTask = new EmailComposeTask();
                    emailTask.To      = "*****@*****.**";
                    emailTask.Subject = emailTask.Subject = Shane.Church.StirlingBirthday.Strings.Resources.TechnicalSupportEmailSubject;
                    emailTask.Show();
                }
            }
        }