public event EventHandler Load 系统恢复初始化状态之后
public event EventHandler Init 系统恢复初始化状态之前
public event EventHandler Unload 生成响应文件之后
public event EventHandler PreRender 事件激发之后
eventhandler functions 事件处理函数
EventHandler is a delegate for a function that takes an Object (the sender) and eventargs.
这里EventHandler是某个函数的委托,该函数带有参数:Object(也就是sender)和eventargs。
This latter feature of using EventHandler is less of an issue with the other versions of create .
使用EventHandler的另一个特点是对于其他版本的create来说,很少出现问题。
Listing 3 duplicates the earlier button selection example shown in Figure 1, using an EventHandler.
清单3重复了前面图1中的按钮选择例子,使用了一个EventHandler。
应用推荐