【发布时间】:2014-09-26 21:29:18
【问题描述】:
我有一个 Windows 应用程序,我在其中使用 webbrowser 控件来显示 html 文本。 问题是我在该 html 中有一些链接,当用户单击它们时,我需要它们打开另一个 win 表单。
我想在链接中写什么
<a href:????> click to show another win form</a>
或者还有其他方法。请帮忙。
感谢您的宝贵时间。
【问题讨论】:
-
您要查找的内容称为
WebBrowser控件的ObjectForScripting属性。查看this link 了解更多信息和示例。
标签: c# html windows-applications web-controls