更新时间:2023-12-06 11:45:46
您需要使用的 过程
类:
You need to use the Process
class:
Process.Start(@"C:\some_location\myapplication.exe");
有关参数:
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = @"C:\some_location\myapplication.exe";
startInfo.Arguments = "header.h";
Process.Start(startInfo);
显然,你可以拉这些名称/参数从文本框。
Obviously you can pull these names/arguments from text boxes.