Example #1
0
        protected void Initialize(string name, Growl.DisplayStyle.IDisplay display, bool isDefault)

        {
            this.Name = name;

            this.IsDefault = isDefault;

            this.display = display;



            this.notificationsAwaitingCallback = new Dictionary <string, Growl.Daemon.CallbackInfo>();



            if (this.display != null)

            {
                this.display.NotificationClicked += d.OnNotificationCallback;

                this.display.NotificationClosed += d.OnNotificationCallback;

                d.NotificationCallback += new Growl.CoreLibrary.NotificationCallbackEventHandler(display_NotificationCallback);
            }
        }
Example #2
0
 protected Display(string name, Growl.DisplayStyle.IDisplay display, bool isDefault)
 {
     Initialize(name, display, isDefault);
 }
Example #3
0
 public Display(string name, Growl.DisplayStyle.IDisplay display) : this(name, display, false)
 {
 }
Example #4
0
        protected void Initialize(string name, Growl.DisplayStyle.IDisplay display, bool isDefault)
        {
            this.Name = name;
            this.IsDefault = isDefault;
            this.display = display;

            this.notificationsAwaitingCallback = new Dictionary<string, Growl.Daemon.CallbackInfo>();

            if (this.display != null)
            {
                this.display.NotificationClicked += d.OnNotificationCallback;
                this.display.NotificationClosed += d.OnNotificationCallback;
                d.NotificationCallback += new Growl.CoreLibrary.NotificationCallbackEventHandler(display_NotificationCallback);
            }
        }