Adds an event to the associated component class.
public void add( EventInfo e )
e
An EventInfo object that defines the event.
For an example that shows how to use this method, see the ClassInfo overview.