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); } }
protected Display(string name, Growl.DisplayStyle.IDisplay display, bool isDefault) { Initialize(name, display, isDefault); }
public Display(string name, Growl.DisplayStyle.IDisplay display) : this(name, display, false) { }
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); } }