Esempio n. 1
0
 /// <summary>
 /// Invoked the 'IconChanged' event.
 /// </summary>
 /// <param name="e">Provides access to old and new icons.</param>
 public virtual void OnIconChanged(SEToolStripOldNewEventArgs <Icon> e)
 {
     if (this.IconChanged != null)
     {
         this.IconChanged(this, e);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Invokes the 'ImageSizeChanged' event handler.
        /// </summary>
        /// <param name="e">Event arguments.</param>
        protected virtual void OnImageSizeChanged(SEToolStripOldNewEventArgs <SEToolStripImageSize> e)
        {
            SEToolStripOldNewEventHandler <SEToolStripImageSize> handler = this.ImageSizeChanged;

            if (handler != null)
            {
                this.ImageSizeChanged(this, e);
            }
        }