我希望现在你对委托和事件有更好的理解。
I hope now you have the better understanding of Delegate and Events.
谁能告诉我哪里是委托和事件关键字定义?
Can someone tell me where is the delegate and event keyword defined?
委托和事件帮助我们编写模块化和可重用的代码。
Delegates and Events help us to write modular and reusable code.
为此,我创建了一个委托和事件SearchGrid,搜索按钮时被击中。
For this, I created a delegate and fire the event SearchGrid, when the search button is hit.
在中断模式下,对委托和事件的大部分更改都是不被“编辑并继续”允许的。
Most changes to delegates and events are not allowed by Edit and Continue during Break mode.
该特性将取代Calendar中的通知,用于未被接受的邀请、重新排定的事件和委托通知。
This feature replaces notices in the Calendar for unaccepted invitations, rescheduled events, and delegation notices.
委托、事件和lambda表达式。
支持Bean将添加事件请求处理工作委托给无状态会话BeanEventServiceEJB,并将列表和保存事件委托给一个EventService实现。
The backing bean delegates add event request processing to the EventServiceEJB Stateless Session bean, and delegates listing and saving events to an EventService implementation.
事件处理器和其它的委托(delegate)可以通过向委托的构造方法传入一个Lisp闭包的方式创建。
Event handlers and other delegates are created by passing in a Lisp closure to the delegate's constructor.
此策略意味着控件不需要维护事件通知的目标对象列表——委托可处理所有的注册和通知。
This strategy means that the control does not need to maintain a list of target objects for event notification-the delegate handles all registration and notification.
只要事件处理程序和事件签名匹配,就可以将调用已公开方法的该事件处理程序(委托类型)添加到任何事件。
An event handler, a delegate type, that invokes the exposed method can be added to any event as long as the handler and event signatures match.
事件添加了一个抽象的抽象层和对委托的保护,这种保护防止委托的委托造成重置委托以及调用列表。
Events adds a layer of abstraction and protection on delegate, this protection prevents client of the delegate from resetting the delegate and invocation list.
例如,单击按钮事件和单击菜单命令事件都能调用同一委托,然后该委托调用单个方法以相同方式处理各个事件。
For example, a button-click event and a menu-command-click event can both invoke the same delegate, which then calls a single method to handle these separate events the same way.
要在一个类中实现多个事件属性,该类必须在内部存储和维护为每个事件定义的委托。
To implement multiple event properties in a class, the class must internally store and maintain the delegate defined for each event.
事件属性访问器使用事件属性的预定义键在委托集合中添加和从委托集合中移除实例。
The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.
事件属性访问器使用事件属性的预定义键在委托集合中添加和从委托集合中移除实例。
The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.
应用推荐