1.在winform中显示html内容:

private void Test()
{
WebBrowser w
= new WebBrowser();
w.Parent
= this;
w.Dock
= DockStyle.Fill;
w.DocumentText
=
"<html><body><br><br><br>Please enter your name:<br/>" +
"<input type='text' name='userName'/><br/>" +
"<a href='http://www.microsoft.com'>continue</a>" +
"</body></html>";
}

相关文章:

  • 2022-01-05
  • 2021-06-08
  • 2021-12-31
  • 2021-11-12
  • 2021-08-03
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2021-10-02
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-09-27
相关资源
相似解决方案