Exemplo n.º 1
0
 public static void NotificationClosed(NotificationWindow window)
 {
     activeNotifications.Remove(window);
 }
Exemplo n.º 2
0
        public static void ShowChannelOnlineNotification(TwitchChannel channel)
        {
            var window = new NotificationWindow(channel.DisplayName, channel.Description);

            ShowNewNotification(window);
        }
Exemplo n.º 3
0
 private static void ShowNewNotification(NotificationWindow window)
 {
     window.SetPositionIndex(activeNotifications.Count);
     activeNotifications.Add(window);
     window.Show();
 }