日期:2014-05-17  浏览次数:20755 次

wpf 的相关问题
winform的this.Document.Window.DomWindow 在wpf中的对应方法
WPF webbrowser

------解决方案--------------------
((System.Windows.Forms.HtmlDocument)this.Document).Window.DomWindow

可以这样么?
------解决方案--------------------
应该是这个。
引用Microsoft.mshtml
mshtml.IHTMLDocument2 doc2 = (mshtml.IHTMLDocument2)this.Document;