private void button4_Click(object sender, EventArgs e) { int k = FormMethod.killProcess("WINWORD"); MessageBox.Show("执行成功,杀死" + k.ToString() + "个word进程"); }