EventArgs e

G

Guest

You have to put it in every event handler, and i have seen it used but i
can't work out what it is, what it does and why it's there. Could someone
point me to an explanation because i really havn't been able to find one.
 
G

Guest

Many thanks once again, if you could just provide me with a few more details
i would apreciate it...

"By convention, event delegates in the .NET Framework have two parameters,
the source that raised the event and the data for the event."

Right so as sender is the source that raised the event (which i do
understand and i have used in the past), so that must mean that e is "the
data for the event". Thing is i don't understand what that is, the event has
occured, the event handler has been triggered and the code in the event
handler runs. What data is there for the event and where has this data come
from, and what use is this data.
 
G

Guest

Hi, ignore the previous post, having re-read the MSDN pages you pointed me to
and then applied that knowledge to your code you pointed me to in the other
post aboput the DropDownLists, i now "get it". Thank you very much for all
your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top