我看到了GoBack,GoForward,Refresh和Navigate的方法,但没有"停止"或"取消".我该怎么做?
使用可以使用InvokeScript方法而不是WebBrowser控制来停止页面导航.
yourWebBrowser.InvokeScript("eval", "document.execCommand('Stop');");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3986 次 |
| 最近记录: |