WebBrowser 控件导航到包中的 html 文件,首先把该文件 (bland.html) 的属性设置为  "Resource"、“始终复制”,

然后在 C# 页面可以导航到该文件。

 webView.Navigate(new Uri(System.Environment.CurrentDirectory + @"/Assets/bland.html", UriKind.RelativeOrAbsolute));

 

相关文章:

  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-11-02
  • 2022-12-23
  • 2022-03-09
相关资源
相似解决方案