protected override LayoutManager GetLayoutManager(NotificationWindow nw)

        {
            StickyNoteWindow win = (StickyNoteWindow)nw;

            switch (win.DisplayLocation)

            {
            case Location.TopLeft:

                return(tllm);

            case Location.BottomLeft:

                return(bllm);

            case Location.TopRight:

                return(trlm);

            default:

                return(brlm);
            }
        }
 protected override void HandleNotification(Notification notification, string displayName)
 {
     StickyNoteWindow win = new StickyNoteWindow();
     win.Tag = this;
     win.SetNotification(notification);
     win.SetDisplayLocation(GetLocationFromSetting());
     this.Show(win);
 }
Esempio n. 3
0
        protected override void HandleNotification(Notification notification, string displayName)
        {
            StickyNoteWindow win = new StickyNoteWindow();

            win.Tag = this;
            win.SetNotification(notification);
            win.SetDisplayLocation(GetLocationFromSetting());
            this.Show(win);
        }
        protected override void HandleNotification(Notification notification, string displayName)
        {
            StickyNoteWindow win = new StickyNoteWindow();
            win.Tag = this;
            //if (NotificationMeetsRules(notification,GetExclusionsFromSetting()))
            //{
            //    notification.Description = "true";
            //}
            win.SetNotification(notification);
            win.SetDisplayLocation(GetLocationFromSetting());

            this.Show(win);
        }