예제 #1
0
        private void BreakingNews_Click(object sender, RoutedEventArgs e)
        {
            var toastXML = ToastService.CreateToast();
            var notifier = ToastNotificationManager.CreateToastNotifier();
            var toast    = new ToastNotification(toastXML);

            notifier.Show(toast);
        }
예제 #2
0
        private void Notify(object sender, RoutedEventArgs e)
        {
            XmlDocument       xmlDoc   = ToastService.CreateToast();
            ToastNotifier     notifier = ToastNotificationManager.CreateToastNotifier();
            ToastNotification toast    = new ToastNotification(xmlDoc);

            notifier.Show(toast);
        }
예제 #3
0
        private void templateNotify()
        {
            var xmlDoc   = ToastService.CreateToast();
            var notifier = ToastNotificationManager.CreateToastNotifier();
            var toast    = new ToastNotification(xmlDoc);

            notifier.Show(toast);
        }