如何取消或web浏览器元素处理当前导航 [英] How to cancel or dispose current navigation at WebBrowser element
本文介绍了如何取消或web浏览器元素处理当前导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发一个C#.NET Framework 4.0中的应用程序。它访问一些网页与订单。有时候,我不得不移动到下一个页面,而无需等待previous之一完成的工作。我怎样才能取消 web浏览器
元素的previous导航过程?
web浏览器
元素使用Internet Explorer。谢谢你。
这是我如何浏览
WebBrowser1.Navigate时(http://www.mywebsite.com/);
解决方案
I am developing a C#, .NET Framework 4.0 application. It visits some pages with an order. Sometimes I have to move to the next page without waiting for the previous one to finish the job. How can I cancel the previous navigation process of the WebBrowser
element?
WebBrowser
element uses Internet Explorer. Thank you.
This is how I navigate
webBrowser1.Navigate("http://www.mywebsite.com/");
解决方案
这篇关于如何取消或web浏览器元素处理当前导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文