比如说,你要点一下按钮,就访问google,那就拖个button出来,写入下代码,记得添加引用:
using System.Diagnostics;
private void button1_Click(object sender, EventArgs e)
        {
            Process myProcess = new Process();
            myProcess.StartInfo.FileName = "iexplore.exe";
            myProcess.StartInfo.Arguments = "http://www.google.com";
            myProcess.Start();

        }

相关文章:

  • 2021-11-13
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2021-08-21
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2022-01-07
  • 2021-12-23
相关资源
相似解决方案