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;