コード例 #1
0
        protected override void HandleNotification(Notification notification, string displayName)

        {
            CompactDarkWindow win = new CompactDarkWindow();

            win.SetNotification(notification);

            this.Show(win);

            //win.FormClosed += new FormClosedEventHandler(win_FormClosed);

/*
 *
 *          ToastWindow win = new ToastWindow();
 *
 *          win.FormClosed += new FormClosedEventHandler(win_FormClosed);
 *
 *          win.SetNotification(notification);
 *
 *
 *
 *          this.queuedNotifications.Enqueue(win);
 *
 *          WorkQueue();
 *
 */
        }
コード例 #2
0
        protected override void HandleNotification(Notification notification, string displayName)
        {
            CompactDarkWindow win = new CompactDarkWindow();
            win.SetNotification(notification);
            this.Show(win);
            //win.FormClosed += new FormClosedEventHandler(win_FormClosed);
/*
            ToastWindow win = new ToastWindow();
            win.FormClosed += new FormClosedEventHandler(win_FormClosed);
            win.SetNotification(notification);

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