User Manual
Programming Basics
Event Arguments
Events pass two arguments:
The sender, declared as type object
z Usually the object representing the control that generated
the event
z Allows you to use the same event handler for
multiple controls
Arguments, declared as type EventArgs
z Provides additional data specific to the event
z EventArgs itself contains no data; a class derived from
EventArgs will be passed.
E.g. ServerValidateEventArgs,
DataGridItemEventArgs, DataGridCommandEventArgs