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

            ShowNewNotification(window);
        }
示例#3
0
 private static void ShowNewNotification(NotificationWindow window)
 {
     window.SetPositionIndex(activeNotifications.Count);
     activeNotifications.Add(window);
     window.Show();
 }