コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 protected virtual void OnModeChanging(ModeChangingEventArgs e)
 {
     if (this.ModeChanging == null)
     {
         return;
     }
     this.ModeChanging((object)this, e);
 }
コード例 #3
0
 private void wizardElement_ModeChanging(object sender, ModeChangingEventArgs e)
 {
     this.OnModeChanging(e);
 }