private void BreakingNews_Click(object sender, RoutedEventArgs e) { var toastXML = ToastService.CreateToast(); var notifier = ToastNotificationManager.CreateToastNotifier(); var toast = new ToastNotification(toastXML); notifier.Show(toast); }
private void Notify(object sender, RoutedEventArgs e) { XmlDocument xmlDoc = ToastService.CreateToast(); ToastNotifier notifier = ToastNotificationManager.CreateToastNotifier(); ToastNotification toast = new ToastNotification(xmlDoc); notifier.Show(toast); }
private void templateNotify() { var xmlDoc = ToastService.CreateToast(); var notifier = ToastNotificationManager.CreateToastNotifier(); var toast = new ToastNotification(xmlDoc); notifier.Show(toast); }