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