Using Navigate to load more than one link in WebBrowser

1

How do Navigate go to the next link after the first one has loaded? I tried some things but I did not succeed.

nomedobrowser.Navigate("http://reidocrime.com/");
nomedobrowser.Navigate("http://reidocrime.com/map/);
    
asked by anonymous 25.05.2014 / 21:15

1 answer

1

Do this in the event DocumentCompleted , it occurs when WebBrowser finishes loading a document.

private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
   webBrowser1.Navigate("http://reidocrime.com/map/");
}
    
25.05.2014 / 21:50