简体   繁体   中英

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.

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

Here you have msdn documentation.

I think that this event is Navigating .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM