foreach(System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses()) { MessageBox.Show(p.ProcessName); } 相关文章: