protected override LayoutManager GetLayoutManager(NotificationWindow nw) { DegreeWindow win = (DegreeWindow)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) { DegreeWindow win = new DegreeWindow(); win.Tag = this; win.SetNotification(notification); win.SetDisplayLocation(GetLocationFromSetting()); this.Show(win); }