111,120
社区成员
发帖
与我相关
我的任务
分享 System.Diagnostics.Process[] CurrentProcess = System.Diagnostics.Process.GetProcessesByName("POWERPNT");//好像是这个进程名
for (int i = 0; i < CurrentProcess.Length; i++)
{
if (CurrentProcess[i].MainWindowHandle.ToInt32() == 0)
{
try
{
//...
}
catch
{
}
}
}