1.新建一个项目,将Form1删掉,将Program中换成以下代码

static class Program
{
      [STAThread]
      static void Main()
      {
          System.Diagnostics.Process process = new System.Diagnostics.Process();
          process.StartInfo.FileName = @"E:\相变.exe";   //为所要启动项目的exe路径
          process.Start();
      }
}

 

相关文章:

  • 2022-12-23
  • 2021-10-15
  • 2021-06-28
  • 2021-06-21
  • 2021-07-26
  • 2021-08-08
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2022-01-20
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案