是包含事件数据的类的基类,用于传递事件的细节。 一般在源码中是以这样的情况出现的:protected voidEventHandler(object sender, EventArgs e)
...:使用.框架中的EventArgs和EventHandler里提到事件是通过委托来进行关联的,而委托是可以带各种各样的参数的,其中就可以用事件参数(EventArgs),同时,也可以用.框架里边提供的一个委托Event.
基于36个网页-相关网页
...amework 类别库 System.Windows.Forms 命名空间 ButtonBase 类别 ButtonBase 方法 OnGotFocus 方法 OnGotFocus 方法 (EventArgs)
基于22个网页-相关网页
EventArgs AddressToLocations Locator 地理编码操作的参数信息
For the second argument, I pass an empty EventArgs object.
对于第二个参数,我传递一个空的EventArgs对象。
EventHandler is a delegate for a function that takes an Object (the sender) and eventargs.
这里EventHandler是某个函数的委托,该函数带有参数:Object(也就是sender)和eventargs。
The class file actually contains a series of classes that inherit from and extend the DataSet, DataTable, DataRow, and EventArgs classes.
该类文件实际上包含一系列类,这些类继承并扩展了DataSet、DataTable、DataRow和eventargs类。
应用推荐