winform窗体中链接网页

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

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

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

原文地址:https://www.cnblogs.com/ganmk/p/1342939.html