Type Reason ArgumentException handler is not the same Type as the event handler delegate declared for the event reflected by the current instance. System.Reflection.TargetException The event reflected by the current instance is non-static, and obj is null or is of a type that does not implement the event reflected by the current instance.
This method attempts to add a delegate to synchronize the event on the target object.
Each time the event is raised by the target parameter, the method or methods encapsulated by the handler will be invoked.