C#判断某程序是否运行的方法

qq_63055 11 0 PDF 2021-01-16 14:01:15

本文实例讲述了C#判断某程序是否运行的方法,分享给大家供大家参考。 具体实现方法如下: [DllImport("user32.dll")] private static extern bool SetForegroundWindow(IntPtr hWnd); [DllImport("user32.dll")] private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); [DllImport("user32.dll")] private static extern bool IsIconic(IntPtr hW

用户评论
请输入评论内容
评分:
暂无评论