加入适当的程序码至事件处理常式。
将事件处理常式方法名称当做值使用。
事件处理常式就是透过委派叫用的方法。
Event handlers are nothing more than methods that are invoked through delegates.
在属性值中,输入事件处理常式的名称。
自订事件允许事件非同步呼叫它的事件处理常式。
Custom events allow the event to call its event handlers asynchronously.
您也可以加入任何对话方块控制项的事件处理常式。
You can also add an event handler for any dialog box control.
为非同步页面,注册开始与结束事件处理常式委派。
Registers beginning and ending event handler delegates for an asynchronous page.
输入事件处理常式名称,或保留空白以使用预设名称。
Type the event handler name or leave it blank to use the default name.
在[设计]检视中,选取您要建立事件处理常式的控制项。
In Design view, select the control that you want to create an event handler for.
本范例显示如何使用程序码,将事件处理常式加入到项目中。
This example shows how to add an event handler to an element by using code.
这项服务会实作“事件堆叠”,其中包含目前的事件处理常式集。
This service implements an "event stack" that contains the current set of event handlers.
您可以使用这个事件处理常式,在功能区载入时执行自订程式码。
Use this event handler to run custom code when the Ribbon loads.
借由选取物件然后选取事件,即可建立新的处理常式。
You can create a new handler by selecting the object and then selecting the event.
您可以选取事件名称,直接移至该处理常式。
您可以选取事件名称,直接移至该处理常式。
应用推荐