事件
webBrowser_DocumentCompleted
private void webBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { if (webBrowser.ReadyState == WebBrowserReadyState.Complete && webBrowser.IsBusy == false) { //panelEx1.Text = "页面加载完成"; label1.Visible = false; pictureBox2.Visible = false; } }
以上判断可判断页面是否加载完毕!
时间: 2024-11-05 13:49:29