Should an Event that has no arguments define its own custom EventArgs or simply use System.EventArgs
- by Mike Rosenblum
I have an event that is currently defined with no event arguments. That is, the EventArgs it sends is EventArgs.Empty.
In this case, it is simplest to declare my Event handler as:
EventHandler<System.EventArgs> MyCustomEvent;
I do not plan on adding any event arguments to this event, but it is possible that any code could need to change…