我正在使用webbrowser控件... 这是我的代码:
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
}
但是如何序列化网址浏览并为每个网址执行DocumentCompleted
?
我怎样才能防止冲突?