/// <summary> /// Raises the <see cref="ModeChanged"/> event. /// </summary> /// <param name="e">An instance of <see cref="ModeChangedEventArgs"/> containing event data.</param> protected virtual void OnModeChanged(ModeChangedEventArgs e) { if (this.ModeChanged != null) { this.ModeChanged(this, e); } }
protected virtual void OnModeChanged(ModeChangedEventArgs e) { if (this.ModeChanged == null) { return; } this.ModeChanged((object)this, e); }
private void wizardElement_ModeChanged(object sender, ModeChangedEventArgs e) { this.OnModeChanged(e); }