c# 获取exe程序的句柄, 并根据句柄置顶它

[DllImport("user32.dll")]
public static extern bool SetForegroundWindow(IntPtr hWnd);
 
  
 
 

你可能感兴趣的:(WPF/Winform)