Esempio n. 1
0
 /// <summary>
 /// Fires the <see cref="NotificationClosed"/> event
 /// </summary>
 /// <param name="args"><see cref="Growl.CoreLibrary.NotificationCallbackEventArgs"/> containing information about the event</param>
 void win_NotificationClosed(Growl.CoreLibrary.NotificationCallbackEventArgs args)
 {
     if (this.NotificationClosed != null)
     {
         this.NotificationClosed(args);
     }
 }
Esempio n. 2
0
 protected override void InternalOnNotificationCallback(Growl.CoreLibrary.NotificationCallbackEventArgs args)
 {
     if (this.NotificationCallback != null)
     {
         this.NotificationCallback(args);
     }
 }
 /// <summary>
 /// Fires the <see cref="NotificationClosed"/> event
 /// </summary>
 /// <param name="args"><see cref="Growl.CoreLibrary.NotificationCallbackEventArgs"/> containing data about the event</param>
 protected void OnNotificationClosed(Growl.CoreLibrary.NotificationCallbackEventArgs args)
 {
     if (!this.alreadyClicked && this.NotificationClosed != null)
     {
         this.NotificationClosed(args);
     }
 }
        /// <summary>

        /// Raises the <c>NotificationCallback</c> event

        /// </summary>

        /// <param name="args"><see cref="NotificationCallbackEventArgs"/> containing data about the event</param>

        /// <remarks>

        /// This is where derived classes in other AppDomains do their actual work.

        /// </remarks>

        protected abstract void InternalOnNotificationCallback(NotificationCallbackEventArgs args);
        /// <summary>

        /// Raises the <c>NotificationCallback</c> event

        /// </summary>

        /// <param name="args"><see cref="NotificationCallbackEventArgs"/> containing data about the event</param>

        public void OnNotificationCallback(NotificationCallbackEventArgs args)

        {
            this.InternalOnNotificationCallback(args);
        }
 /// <summary>
 /// Raises the <c>NotificationCallback</c> event
 /// </summary>
 /// <param name="args"><see cref="NotificationCallbackEventArgs"/> containing data about the event</param>
 /// <remarks>
 /// This is where derived classes in other AppDomains do their actual work.
 /// </remarks>
 protected abstract void InternalOnNotificationCallback(NotificationCallbackEventArgs args);
 /// <summary>
 /// Raises the <c>NotificationCallback</c> event
 /// </summary>
 /// <param name="args"><see cref="NotificationCallbackEventArgs"/> containing data about the event</param>
 public void OnNotificationCallback(NotificationCallbackEventArgs args)
 {
     this.InternalOnNotificationCallback(args);
 }
 protected virtual void OnNotificationClosed(NotificationCallbackEventArgs e)
 {
     if (NotificationClosed == null)
         return;
     NotificationClosed(e);
 }