110,567
社区成员
发帖
与我相关
我的任务
分享
public static void createProcess(string filename, string arguments)
{
Process Business = new Process();
Business.StartInfo.FileName = filename;
Business.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
Business.StartInfo.CreateNoWindow = true;
Business.StartInfo.Arguments = arguments;
Business.Start();
PublicClass.CountI++;
//Business.WaitForExit();
}
private void Exit_AdminForm_Click(object sender, EventArgs e)
{
PublicClass.CountI++;
Close();
}
private void button1_Click(object sender, EventArgs e)
{
PublicClass.CountI++;
Close();
}