Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Events in ASP.NET

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
This goes against what I learned so far and it got me confused a little
When I looked in behind the code file,I notice a lot of events share the same delegate(I think it's name is EventHandler).How is that possible?

If a delegate supports two different events(I call them event A and event B) and you have two event-handlers,one suscribed to event A(event-handler x),second to event B.If you fire event A,shouldn't a delegate call,besides event-handler x,also the one registered to event B?Afterall,both events have the same delegate?

Thank you.I hope you don't find it to be a stupid question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top