问题描述 C# 这段代码总是自动执行两次 private void Web_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { WebBrowser web = sender as WebBrowser; web.Document.Window.Error += new HtmlElementErrorEventHandler(Web_Error);//去掉错误提示 if (web.Tag != n