DLLの使用


[DllImport("USER32.DLL", CharSet=CharSet.Auto)] private static extern bool SetForegroundWindow( System.IntPtr hWnd );