コード例 #1
0
        protected override LayoutManager GetLayoutManager(NotificationWindow nw)

        {
            BubblesWindow win = (BubblesWindow)nw;

            switch (win.DisplayLocation)

            {
            case Location.TopLeft:

                return(tllm);

            case Location.BottomLeft:

                return(bllm);

            case Location.TopRight:

                return(trlm);

            default:

                return(brlm);
            }
        }
コード例 #2
0
 protected override void HandleNotification(Notification notification, string displayName)
 {
     BubblesWindow win = new BubblesWindow();
     win.Tag = this;
     win.SetNotification(notification);
     win.SetDisplayLocation(GetLocationFromSetting());
     this.Show(win);
 }
コード例 #3
0
        protected override void HandleNotification(Notification notification, string displayName)
        {
            BubblesWindow win = new BubblesWindow();

            win.Tag = this;
            win.SetNotification(notification);
            win.SetDisplayLocation(GetLocationFromSetting());
            this.Show(win);
        }