内部类的事件处理方法如清单2 所示。
The event handling method of the inner class is shown in Listing 2.
事件处理方法返回任何其他对象类型都是错误的。
Any other type of object returned from an event handler method is an error.
同样也可以在代码后置文件中来关联事件处理方法。
You can also associate an event with its event handler in the code-behind. The following code shows how to do this in C#.
connectToPlot是一个非常有用的事件处理方法。
在程序码编辑器中,以适当的签章建立事件处理方法。
In the code editor, create an event-handling method with the appropriate signature.
某外部可见的事件处理方法带来了需要检查的安全问题。
An externally visible event-handling method presents a security issue that requires review.
对于其它事件处理方法,由保留defaulthandler提供缺省实现。
Default implementations provided by DefaultHandler are retained for other event processing methods.
通过对这种统一事件的响应,可以不必为各子控件分别编写事件处理方法。
By responding to this single event, you can avoid writing event-handling methods for individual child controls.
事件委派为多点传送,这表示它们可以存有对一个以上事件处理方法的参考。
Event delegates are multicast, which means that they can hold references to more than one event handling method.
将安全检查添加到事件处理方法并不影响代码注册调用该方法的事件处理程序。
Adding a security check to an event-handling method does not prevent code from registering an event handler that invokes the method.
而杜邦公司“特富龙”事件处理方法无疑是个成功案例,值得我国企业学习和借鉴。
This article analyzes the "TEFLON" case of Dupon Company, which sets a successful example in handling crisis for the enterprises in China.
这可让您提供事件处理方法,用于每次发生这个事件时执行自订常式,例如检查删除作业的结果。
This allows you to provide an event-handling method that performs a custom routine, such as checking the results of a delete operation, whenever this event occurs.
文档中的事件(例如将光标移入特定区域,或单击按钮和菜单项)可以调用程序集中的事件处理方法。
Events in the document, for example moving the cursor into specific areas or clicking buttons and menu items, can call event-handling methods in the assembly.
这可让您提供事件处理方法,用于每次发生这个事件时执行自订常式 (例如更新资料库或显示内容)。
This allows you to provide an event-handling method that performs a custom routine, such as updating a database or the displayed content, whenever this event occurs.
在此基础上,建立了面向对象的动态仿真活动控制原理和事件处理方法,并对仿真建模图形界面进行了研究。
On the basis of this, business process simulation mechanism, activity control method, event-dealing method and graphic interface for modelling and simulation are studied.
这使您可以提供一个这样的事件处理方法,即每次发生此事件时就执行一个自定义例程(如取消选择操作)。
This enables you to provide an event-handling method that performs a custom routine, such as canceling the selection operation, whenever this event occurs.
这使您可以提供一个这样的事件处理方法,即每次发生此事件时就执行一个自定义例程(如检查删除操作的结果)。
This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the delete operation, whenever this event occurs.
事件处理方法接收的参数可以是事件的超类,然后事件会被发布到事件的超类的处理者中,包括被事件实现的接口。
Event handler methods may be defined in super classes, and events are posted to handlers of the event's super classes including any implemented interfaces.
然后我们可以输入一个要用的新事件处理方法的名称,或者只要点击回车键,使用默认的命名约定来命名事件处理方法。
We can then either type a new event handler method name to use, or optionally just press the enter key to name the event handler method using the default naming convention.
要完成这些,首先要在ManageCustomer控制器中有“add”菜单项的onClick事件的事件处理方法。
To do that, you first need to have an event handling method in the ManageCustomer controller for an "add" menuitem onClick event.
使用第二个测试工具完成的测试重点是在于达到服务器处理事件和方法调用的能力的极限。
Testing with the second test tool focused on reaching the limits of the server's ability to handle events and method invocations.
SAX是事件驱动的XML处理方法。
消息通知事件的委托方法,委托对象将要处理或已经处理。
The message informs the delegate of an event that the delegating object is about to handle or has just handled.
对这些事件我们通常的处理方法是,他作出解释,而我只能尽量地去理解他。
The way we "resolved" these incidents, as we did several times, was that he told me his interpretation of what had happened and I worked hard to honor and understand it.
注意到这种最古老的处理事件的方法事实上就是Netscape的标准是很重要的。
It is very important to realize that this ancient way of event handling was DE facto standardized by Netscape.
扩展Page的每个类还可以包含处理页面事件的方法。
Each class that extends page might also contain methods that handle events on the page.
Swing适配器允许您子类化适配器,并且可以仅重写处理事件所需的方法。
The Swing adaptors allow you to subclass the adaptor and just override the methods you need to handle for the event.
ApacheClick中的组件和事件模型提供了一种构建HTML控件和处理事件的方法,非常容易掌握。
The component and event model in Apache Click provides a method of building HTML controls and handling events that has a low learning curve.
清单22显示了为onfocus和onblur事件呈现事件处理程序的方法。
The event handlers for the onfocus and onblur events are rendered as shown in Listing 22.
当您单击这个Viewer的目录中的链接时,这个链接事件的处理方法是显示CDA的那个部分的内容。
When you click a link in the Viewer's table of contents, the click event is handled by displaying the contents of that section of the CDA.
应用推荐