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