你会使用什么函数调用,和在事件程序你会放置它吗?
What function call would you use, and in which event procedure would you place it?
这将使用一个虚拟异常事件调用程序。
粗略的想法是,我们建模一个触发审阅活动的事件处理程序。
The rough idea is that we model an event handler that triggers one review.
最后,我在表单中添加了一个提交事件处理程序。
然而,相比之前的介绍,现在的事件处理程序有了很大的变化。
However, since the introduction of these simple event handlers much has changed.
Handler指一个事件处理程序实例的对象路径。
Handler refers to the object path of one event handler instance.
用事件警告程序检测事件警告。
它为每一个菜单选项提供事件处理程序。
什么是事件处理程序?
最简单的事件处理程序就是输出每个事件中的一些文本的复写器。
The simplest event handler is a writer which outputs some text on each event.
注意您在事件处理程序中做了多少工作。
对于处理程序,您需要定义事件(如get)、处理程序和条件。
For handlers, you define the event (such as GET), the handler, and a condition.
除了构建事件,还可以引入应用程序事件。
In addition to build events, you can tap into application events.
接下来,您将创建获取事件的处理程序。
事件处理程序是此控件的一个强大特性。
在最古老的表单的事件处理程序看起来是这样的。
获取流程实例的取消事件处理程序。
可以设置事件处理程序来接收来自服务的回调。
You set up the event handler to accept the callback from the service.
这将创建一个事件处理程序实例的局部变量。
This creates a variable that is local to the event handler instance.
有几种方式可以将事件与事件处理程序相关联。
There are several ways to wire an event to an event handler.
定义启动所需数量的事件处理程序的循环。
Define a loop that starts the required number of event handlers.
对于您关心的那些事件,必须定义事件处理程序。
You need to define event handlers for just those things you care about.
事件处理程序将描述在发生特定事件后采取的操作。
Event handlers describe the action that will be taken after a specific event occurs.
这也适用于事件处理程序。
完整的源代码集成位于事件处理程序之中,可通过下载获得。
The complete source code integrated both event handler in one, and is available for download.
因为目标不是段落,单击事件处理程序就不会被触发。
Because the paragraph isn't the target, its click handler will not fire.
通常,应用程序可以通过多个连接端口用相关事件处理程序创建事件过滤器。
Generally, an application can create event filters with associated event handlers through multiple connection ports.
它是更为复杂的代码,要求扩展类才能注册事件侦听程序。
It's more complicated code that requires extending a class to register an event listener.
最后,需要定义简单的事件处理程序,如清单5所示。
Finally, you define the simple event handler shown in Listing 5.
最后,需要定义简单的事件处理程序,如清单5所示。
Finally, you define the simple event handler shown in Listing 5.
应用推荐