catch all events

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vivien Parlat

    #1

    catch all events

    Hello,

    I'm trying to create (for tests purpose) a small Fiddler-like, a form
    containing a webBrowser and a textbox which displays every internal
    event of this web browser. I am not trying to hook keyboard nor mouse
    events, I am interested in all events relative to webbrowser while
    browsing the web.
    I can affect manually the same event handler to all events, but I mind
    there is a smarter solution. I could get all handled events list
    through:

    myWebBrowser.Ge tType().FindMem bers(MemberType s.Event,
    BindingFlags.De fault, null, null);

    However I can't figure out how to use those MemberInfo's to affect
    them my unique event handler.

    Thanks in advance for any help
Working...