//用到的API函数
[DllImport("user32.dll", SetLastError = true)]
private static extern long SetParent(IntPtr hWndChild, IntPtr hWndNewParent);private const int GWL_STYLE = (-16);
private const int WS_VISIBLE = 0x10000000;
[DllImport("user32.dll", EntryPoint = "SetWindowLongA", SetLastError = true)]
private static extern long SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong);
[DllImport("user32.dll", EntryPoint = "MoveWindow")]
public static extern int MoveWindow(int hwnd, int x, int y, int nWidth, int nHeight, int bRepaint);
// Start the process
Process p &