eventargs

  • 网络事件数据;事件参数
eventargseventargs
  1. For the second argument , I pass an empty EventArgs object .

    对于第二个参数,我传递一个空的EventArgs对象。

  2. EventHandler is a delegate for a function that takes an Object ( the sender ) and EventArgs

    这里EventHandler是某个函数的委托,该函数带有参数:Object(也就是sender)和EventArgs

  3. To satisfy the parameter requirements of the button1_Click method I need to pass an object that represents the sender and an EventArgs object that represents optional event data .

    privatevoidbutton1Click(objectsender,System.EventArgse)为了满足button1Click方法的参数需要,我需要传递一个表示发送方的对象和一个表示可选事件数据的EventArgs对象。

  4. 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类。

  5. Above and beyond the standard EventArgs members , the ElapsedEventArgs class exposes a public SignalTime property , which contains the exact time the timer elapsed .

    除了标准的EventArgs成员,ElapsedEventArgs类暴露了一个公共的SignalTime属性,它包含了一个精确的定时器时间片消失的时间。