コード例 #1
0
 void WorkQueue()
 {
     if (!isVisible && this.queuedNotifications.Count > 0)
     {
         MiniVisorWindow win = this.queuedNotifications.Dequeue();
         this.Show(win);
         isVisible = true;
     }
 }
コード例 #2
0
        protected override void HandleNotification(Notification notification, string displayName)
        {
            MiniVisorWindow win = new MiniVisorWindow();
            win.SetNotification(notification);
            win.FormClosed += new FormClosedEventHandler(win_FormClosed);

            this.queuedNotifications.Enqueue(win);
            WorkQueue();
        }
コード例 #3
0
        protected override void HandleNotification(Notification notification, string displayName)
        {
            MiniVisorWindow win = new MiniVisorWindow();

            win.SetNotification(notification);
            win.FormClosed += new FormClosedEventHandler(win_FormClosed);

            this.queuedNotifications.Enqueue(win);
            WorkQueue();
        }