I have used events in the past extensively when developing windows applications. I just discovered a new feature recently when developing a windows workflow application. The ability to execute Code when Host Programs Add\Remove\Raise Events in your custom control\object.
I have developed a sample project to demonstrate the custom event feature. When you run the solution click on the "Add Handler" and "Remove Handler" buttons, you will see custom code getting invoked. One needs to be familiar with the base windows event\delegate model before your understand what is happening here to appreciate it fully.
Download CustomEvents.zip, unzip it and run the solution.
CustomEvents.zip (36.98 KB)