Monday, October 27, 2008

Event Handlers

What I have been think of as "events" are not really events but event handlers.

For example the SelectedIndexChanged handler which is part of a Windows system combo box. This is an event handler which when it is created has a routine associated with it.

It seems like the process is to define the handler at a low level and than have a routine associated with that handler at a higher level. I don't really see the events. I see the handlers.

There seems to be nothing special about the routines that are associated with the handlers, other than that they seem to be private.

No comments: