Exemple #1
0
        public void ShowDefaultNotification()
        {
            INotification notification = DefaultNotificationService.CreatePredefinedNotification(
                "Hello", null, null, new BitmapImage(new Uri(@"/ExampleNotificationService;component/moon.png", UriKind.Relative)));

            notification.ShowAsync();
        }
Exemple #2
0
        public void ShowDefaultNotification()
        {
            INotification notification = DefaultNotificationService.CreatePredefinedNotification("Predefined Notification", "First line", String.Format("Second line. Time: {0}", DateTime.Now), null);

            notification.ShowAsync();
        }
Exemple #3
0
        public void ShowDefaultNotification()
        {
            INotification notification = DefaultNotificationService.CreatePredefinedNotification("ALARM", "Time is running out!", String.Format("Hurry Up!"), new BitmapImage(new Uri("Images/OMG.png", UriKind.Relative)));

            notification.ShowAsync();
        }