How to start a c# program from another c# program in the same map?

后端 未结 3 1437
轮回少年
轮回少年 2021-01-26 22:41

i have two simple c# form programs, and I want to make a button in the first program start the other form when i click it, but i dont know how to access the other programm.cs ma

3条回答
  •  生来不讨喜
    2021-01-26 23:11

    You can use Process.Start to run a new process.

    See http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start(VS.71).aspx for the docs.

提交回复
热议问题