111,097
社区成员




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
{
}
}
}