C#控制其它应用程序
2021-06-04 23:05
标签:get private sse each reac item [] margin proc private void button1_Click(object sender, EventArgs e) private void button2_Click(object sender, EventArgs e) p.Kill(); C#控制其它应用程序 标签:get private sse each reac item [] margin proc 原文地址:https://www.cnblogs.com/mqx365/p/10836872.html
{
System.Diagnostics.Process.Start(@"C:\WINDOWS\NOTEPAD.EXE");
}
{
System.Diagnostics.Process[] ps = System.Diagnostics.Process.GetProcesses();//获取所有进程
foreach (System.Diagnostics.Process p in ps)
{
listBox1.Items.Add(p.ProcessName);
if (p.ProcessName == "notepad")//如果是QQ播放器
{
}
}