Why is WebBrowser_DocumentCompleted() firing twice?

前端 未结 9 1398
独厮守ぢ
独厮守ぢ 2020-11-29 08:35

Well, I\'m using a simple webbrowser control to browse to a page, so I need to change the Text of the form while doing so. I\'m using -

private void webBrow         


        
9条回答
  •  鱼传尺愫
    2020-11-29 09:06

    Actually, it doesn't always get fired. Haven't figured out why not. I have a timer and just check the ReadyState repeatedly for a few minutes. (Using embedded browser control).

提交回复
热议问题