Search code examples
c#browserwinapp

webbrowser event in c#


I use this event for webbrowser in c# win app.

private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
    //do something
}

I can use this event when the document is completed. I want to know is there any other event available for before that. I mean event for loading the page.


Solution

  • I think you should take a look at the owner's document here on msdn. I belive that "Navigating" is the event you are looking for. here is the document for that. Cheers