从例外处理常式区块分支出来。
已拥有处理常式的事件会以粗体显示。
将事件处理常式方法名称当做值使用。
输入要建立的处理常式名称。
移除任一型别的处理常式。
在属性值中,输入事件处理常式的名称。
事件处理常式就是透过委派叫用的方法。
Event handlers are nothing more than methods that are invoked through delegates.
堆叠上可能会有各种不同型别的处理常式。
The stack may have a variety of different types of handlers on the stack.
您可以选取事件名称,直接移至该处理常式。
输入事件处理常式名称,或保留空白以使用预设名称。
Type the event handler name or leave it blank to use the default name.
借由选取物件然后选取事件,即可建立新的处理常式。
You can create a new handler by selecting the object and then selecting the event.
列出在继承的元件中事件处理常式会发生的常见问题。
Lists common issues that occur with event handlers in inherited components.
如需处理常式对应的详细资讯,请参阅技术提示3。
For more information about handle maps, see Technical Note 3.
当事件引发时,接收到该事件的事件处理常式便会执行。
When an event is raised, the event handler or handlers that receive the event are executed.
在[设计]检视中,选取您要建立事件处理常式的控制项。
In Design view, select the control that you want to create an event handler for.
借由选取物件然后选取事件,即可建立新的事件处理常式。
You can create a new event handler by selecting the object and then selecting the event.
本范例显示如何使用程序码,将事件处理常式加入到项目中。
This example shows how to add an event handler to an element by using code.
在原本剖析的XAML页面中加入事件处理常式要简单许多。
Adding an event handler in the initially parsed XAML page is much simpler.
当一个路径不存在或者是有病的时候,借着目录处理常式报告。
Reported by the directory handling routines when a path does not exist or is invalid.
这项服务会实作“事件堆叠”,其中包含目前的事件处理常式集。
This service implements an "event stack" that contains the current set of event handlers.
此表格会告诉作业系统,哪个例外处理常式对于影像而言是有效的。
This table specifies for the operating system which exception handlers are valid for the image.
一般是由事件处理常式组成,但是可以包含您需要的任何方法或属性。
This typically consists of event handlers, but can include any methods or properties that you need.
事件可以被指定给多个处理常式,而且可以变更处理特定事件的方法。
Events can be assigned to multiple handlers, and the methods that handle particular events can be changed dynamically.
在错误处理常式中,可测试查看使用者是否为本机使用者,并据此反应。
In your error handler, you can test to see whether the user is local and react accordingly.
例如,设计工具可以将键盘处理常式或滑鼠处理常式推入或加入至堆叠。
For example, a designer might push, or add, a keyboard handler and a mouse handler onto the stack.
在基底类别和子类别个别注册类别处理的情况下,子类别处理常式会先叫用。
In cases where base classes and subclass each register class handling, the subclass handlers are invoked first.
大多数的控制项都有供您撰写错误处理常式的错误事件(请参阅撷取错误)。
Most controls have an error event from which you can write an error handler (see error Trapping).
如果发生这种事件,而且关联的事件处理常式中有程序码,就会叫用此程序码。
If one of these events occurs and there is code in the associated event handler, that code is invoked.
一般用于接听事件的技术,是使用语言特定的语法来附加处理常式到来源事件。
The typical technique for listening to an event is to use the language-specific syntax that attaches a handler to an event on a source.
一般来说,您会借由在管理快取资料的商务物件中,建立处理常式以实作回呼。
Typically, you implement the callback by creating a handler in a business object that manages the cache data.
应用推荐