Custom events in VB.Net
I had a discussion going on with some folks regarding the fact that VB.Net
does not have the equivalent of C# event accessors (the "add" and "remove"
accessors you can declare inside an event declaration).
We thought this wasn't possible until Paul Vick
blogged about the "Custom Event" declaration that will be available with
VB.Net 2.0. That's really good news. Now you can handle various problems such as
non-serializaed
events in a safer manner, or use the
EventHandlerList class to manage many events in your class. Very Nice.