I'm using webbrowser control...
This is my code :
private void button1_Click(object sender, EventArgs e)
{
foreach (string s in URLsList)
{
webBrowser1.Navigate(s);
}
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
//Do something
}
but how can I serialize browsing of URLs and execute DocumentCompleted
for each of them?
How can I prevent from conflicts?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…