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(); }
private void notification_ResponseSubmitted(object sender, ResponseSubmittedEventArgs e) { if (e.Response == "clear") { lock (notification) { m_toastQueue.Clear(); notification.Visible = false; } } }
private void OnNotifyResponse(Object obj, ResponseSubmittedEventArgs e) { //handles response from Notification this.NotifyReponce.Text = e.Response.ToString(); }
private void importNotification_ResponseSubmitted(object sender, ResponseSubmittedEventArgs e) { importNotification.Visible = false; this.groceryListID = Convert.ToInt32(e.Response.Substring(6)); timerGroceryList.Enabled = true; this.importGroceryList(); }