James,
Typically the pattern for an event handler is to have two parameters.
The first, sender, is the object that fired the event.
The second is to have a class that derives from EventArgs which has any
additional information about the event which might not be immediately
available to the caller.
For example, a MouseMove event has information on the MouseEventArgs
instance passed to the event handler which indicates the position of the
mouse at the time the event was fired. This information isn't part of the
regular information that the Control class exposes, so it is exposed through
the MouseEventArgs.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"James" <dv*****@sbcglobal.netwrote in message
news:sq***************@nlpi068.nbdc.sbc.com...
Im new to c#
I dont completely understand sender and e
in control events for example enter event
what is sender and e
there properties
TIA
James