Using DefaultMethod with WebBrowser

Tech-Archive recommends: Speed Up your PC by fixing your registry



I'm trying to convert a web browser control that was using the old
AxSHDocVw.AxWebBrowser control and it uses the DefaultMethod something
like this:

[DispId(0)]

public void DefaultMethod()
{
// Get the event.
MSHTML.IHTMLEventObj pobjEvent = ((MSHTML.IHTMLDocument2)
axWebBrowser.Document).parentWindow.@event;
// Display information about the event.
MessageBox.Show("Event Info\nType: " + pobjEvent.type + "\nElement: " +
pobjEvent.srcElement );
}

How can I do the equivalent using the new
System.Windows.Forms.WebBrowser?

Thanks in advance.

.