winform如何向webBrowser 插入html
HtmlElement el = this.webBrowser1.Document.CreateElement("DIV");
el.InnerHtml = "<span style=\"color:red\">我是插入的</span>";
this.webBrowser1.Document.Body.AppendChild(el);
HtmlElement el = this.webBrowser1.Document.CreateElement("DIV");
el.InnerHtml = "<span style=\"color:red\">我是插入的</span>";
this.webBrowser1.Document.Body.AppendChild(el);