WizardNavigationEventHandler 代理人
定義
public delegate void WizardNavigationEventHandler(System::Object ^ sender, WizardNavigationEventArgs ^ e);
public delegate void WizardNavigationEventHandler(object sender, WizardNavigationEventArgs e);
type WizardNavigationEventHandler = delegate of obj * WizardNavigationEventArgs -> unit
Public Delegate Sub WizardNavigationEventHandler(sender As Object, e As WizardNavigationEventArgs)
參數
- sender
- Object
事件的來源。The source of the event.
包含事件資料之類型 WizardNavigationEventArgs 的引數。An argument of type WizardNavigationEventArgs that contains the event data.
- 繼承
備註
WizardNavigationEventHandler類別代表處理控制項之導覽事件、、和的方法, FinishButtonClick NextButtonClick PreviousButtonClick SideBarButtonClick Wizard 以及繼承自控制項的控制項 Wizard (例如 CreateUserWizard 控制項)。The WizardNavigationEventHandler class represents the method that handles the navigation events FinishButtonClick, NextButtonClick, PreviousButtonClick, and SideBarButtonClick for a Wizard control and for controls that inherit from the Wizard control (such as the CreateUserWizard control).
建立 WizardNavigationEventHandler 委派時,必須識別處理事件的方法。When you create a WizardNavigationEventHandler delegate, you identify the method that will handle the event. 若要使事件與您的事件處理常式產生關聯,請將委派的執行個體 (Instance) 加入至事件。To associate the event with your event handler, add an instance of the delegate to the event. 除非您移除委派,否則每當事件發生時就會呼叫事件處理常式。The event handler is called whenever the event occurs, unless you remove the delegate. 如需事件處理常式委派的詳細資訊,請參閱處理和引發事件。For more information about event-handler delegates, see Handling and Raising Events.
擴充方法
GetMethodInfo(Delegate) |
取得表示特定委派所代表之方法的物件。Gets an object that represents the method represented by the specified delegate. |