/// <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); } }
/// <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); } }