摘要: C#中的webbrowser控件比较好用. 下面本人搜索整理的几个小技巧.1. 从C#中取得javascript的变量值.using mshtml;using System.Reflection; IHTMLDocument2 vDocument = webBrowser1.Document.DomDocument as IHTMLDocument2; IHTMLWindow2 vWindow = vDocument.parentWindow; Type vWindowType = vWindow.GetType(); object xpt = vWindowType.InvokeMember 阅读全文
posted @ 2013-09-26 14:59 越天 阅读(4688) 评论(0) 推荐(0) 编辑