摘要:
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 阅读全文