Mega Code Archive
Using Event Accessors
You can use event accessors to take control of the event handler list.
The accessors specify how the event handler list is implemented.
This form is shown here:
event event-delegate event-name {
add {
// code to add an event to the chain
}
remove {
// code to remove an event from the chain
}
}