C# 点击打开浏览器

System.Diagnostics.Process.Start("网址");//默认浏览器打开网页
System.Diagnostics.Process.Start(@"IEXPLORE.EXE", "网址");//指定IE打开


private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("IEXPLORE.EXE","http://www.baidu.com");
}

 

你可能感兴趣的:(浏览器)