This method of the WebBrowser class registers the WebBrowser control to receive events.
public synchronized void enableEvents();