public static void MoveWindow(int x, int y, int nWidth, int nHeight, bool bRepaint) { SafeNativeMethods.MoveWindow(SafeNativeMethods.GetConsoleWindow(), x, y, nWidth, nHeight, bRepaint); }