摘要: public Form3() { InitializeComponent(); button1.Click +=new EventHandler(button_Click); button2.Click +=new EventHandler(button_Click); } private void 阅读全文
posted @ 2016-05-31 19:56 寒夜美美 阅读(687) 评论(0) 推荐(0) 编辑
摘要: Process[] pros = Process.GetProcesses();//获取多个进程 foreach(var item in pros) { item.Kill(); Console.Write(item); } Process.Start("calc");//打开计算器 Process 阅读全文
posted @ 2016-05-31 19:53 寒夜美美 阅读(177) 评论(0) 推荐(0) 编辑