Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] .NET events

Started by Quat Feb 25, 2008 at 3:34 PM 0 replies 850+ views
Original Post
Quat
Quat
I'm starting to get used to the differences between .NET events and the Win32 way of handling events. Is this correct: Instead of having a big message handler that is called for every event, in .NET, each object has a list of events it can generate. Then other objects that want to respond to an event of some object add event handlers. When the event is triggered, every event handler listening for that event gets called (and this is implemented by the delegate object maintaining a list of functions).
-----Quat
Machaira
Machaira
Basically, yes.
Former Microsoft XNA and Xbox MVP | Check out my blog for random ramblings on game development

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.