You can use MoveWindow (where hWnd is the window you want to move):
[DllImport("user32.dll", SetLastError = true)] internal static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint); MoveWindow(ApplicationHandle, 600, 600, 600, 600, true);
If you do not know the window pointer, you can use FindWindow .
It's also worth reading the MSDN SetWindowPos (very similar to MoveWindow).
The power
source share