
.NET 3.5的WPF
控件是不含WebBrowser控件的,要使用它的话需要
添加WinForm的Dll,而且WebBrowser要放在WindowsFormHost里面才可以使用。RichTextBox和WindowsFormHost可以通过布局显示在同一个
窗体上。this.webBrowser1.NavigateToString("<html><head><title>aaaaaaaaaaaaa</title></head><body><a href=\"http://www.baidu.com\">百度</a></body></html>")
评论列表(0条)