在窗体中添加一个LinkLabel控件
双击该控件,增加一个事件
在事件中写如下代码
string url = http://www.baidu.com/;

其中url也可以是这样的,比如“”string url = "f:\\我的网页.html";
System.Diagnostics.Process.Start("IExplore.exe", url);

通过System.Diagnostics.Process.Start()方法来启动IE或者某种浏览器

相关文章:

  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-09-04
  • 2021-05-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案