2013年3月17日

摘要: 1.在Winform里使用WebBrowser,要对Form1.cs添加一些东西: 1.1 在“public partial class Form1 : Form”上方,添加:1 [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]2 [System.Runtime.InteropServices.ComVisibleAttribute(true)] 1.2 在Form1的Shown事件中,添加:1 this.UI_webBrowser.ObjectForScripting = this;2.由于WebBrow 阅读全文
posted @ 2013-03-17 13:51 xxxteam 阅读(1693) 评论(0) 推荐(0) 编辑

导航