摘要:
public Form3() { InitializeComponent(); button1.Click +=new EventHandler(button_Click); button2.Click +=new EventHandler(button_Click); } private void 阅读全文
摘要:
Process[] pros = Process.GetProcesses();//获取多个进程 foreach(var item in pros) { item.Kill(); Console.Write(item); } Process.Start("calc");//打开计算器 Process 阅读全文