Process[] ProcessList = Process.GetProcessesByName("mspaint");//画图板

          IntPtr test = ProcessList[].MainWindowHandle;

-

05-11 13:19