1 2 3 4 5 6 7 8 9 10
using System.Runtime.InteropServices; namespace Handbrake.Functions { class Win32 { [DllImport("user32.dll")] public static extern int SetForegroundWindow(int hWnd); } }