winformwebbrowser控件内嵌的HTML无法运行JS代码,该怎么处理
1个回答
展开全部
// 弹出网页源文件
System.Windows.Forms.Form windowBrowserSource = new System.Windows.Forms.Form();
System.Windows.Forms.RichTextBox browserSourceText = new System.Windows.Forms.RichTextBox();
browserSourceText.Margin = new System.Windows.Forms.Padding(0);
browserSourceText.Dock = System.Windows.Forms.DockStyle.Fill;
browserSourceText.Text = wbShow.DocumentText;
windowBrowserSource.Controls.Add(browserSourceText);
windowBrowserSource.Show();
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询