C# Web浏览器控制> 暂停?
大家好。 我想知道如何在 System.Windows.Forms.Webbrowser 控件中实现超时事件?
Hey all. I'm wondering how to implement a timeout event in the System.Windows.Forms.Webbrowser control?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用在 Navigating 事件中启动并在 DocumentCompleted 事件中停止的计时器。
You could use a timer that you start on the Navigating event, and stop in the DocumentCompleted event.
这是糟糕的编程。尝试一下 Microsoft 的这段代码。
This is bad programing.Try this snippet code from Microsoft.