[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
webbrowser.ObjectForScripting = this; //这句很关键,主要和页面的JS互相操作
|
[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
webbrowser.ObjectForScripting = this; //这句很关键,主要和页面的JS互相操作
|