Beispiel #1
0
 internal void OnResponseSubmitted(ResponseSubmittedEventArgs e)
 {
     if (this.ResponseSubmitted != null)
     {
         this.ResponseSubmitted(this, e);
     }
 }
void _notification_ResponseSubmitted(object sender, 
ResponseSubmittedEventArgs e) {
            if (e.Response == "show") {
                System.Diagnostics.Process.Start("iexplore", 
notificationURL);
_notification.Dispose();
            }
else if(e.Response == "cancel")
                _notification.Dispose();
        }
 internal void OnResponseSubmitted(ResponseSubmittedEventArgs e)
 {
   if (this.ResponseSubmitted != null)
   {
     this.ResponseSubmitted(this, e);
   }
 }
        void _notification_ResponseSubmitted(object sender, 
ResponseSubmittedEventArgs e)
        {
            if (e.Response == "show") {
                System.Diagnostics.Process.Start("iexplore",
            notificationURL);
            _notification.Dispose();
            }
            else if(e.Response == "cancel")
                _notification.Dispose();
        }
Beispiel #5
0
 private void notification_ResponseSubmitted(object sender, ResponseSubmittedEventArgs e)
 {
     if (e.Response == "clear")
     {
         lock (notification)
         {
             m_toastQueue.Clear();
             notification.Visible = false;
         }
     }
 }
Beispiel #6
0
 private void OnNotifyResponse(Object obj, ResponseSubmittedEventArgs e)
 {
     //handles response from Notification
     this.NotifyReponce.Text = e.Response.ToString();
 }
Beispiel #7
0
 private void importNotification_ResponseSubmitted(object sender, ResponseSubmittedEventArgs e)
 {
     importNotification.Visible = false;
     this.groceryListID = Convert.ToInt32(e.Response.Substring(6));
     timerGroceryList.Enabled = true;
     this.importGroceryList();
 }