[DllImport("coredll.Dll")]
public static extern IntPtr FindWindow(string strclassName, string strWindowName);
[DllImport("coredll.Dll")]
public static extern int SetWindowPos(IntPtr hwnd, int hWndInsertAfter, int x, int y, int cx, int cy, int wFlags);
[DllImport("coredll.Dll")]
public const int WM_CLOSE = 0x10;
[DllImport("coredll.Dll")]
public static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);
[DllImport("coredll.Dll", EntryPoint = "CreateProcess", SetLastError = true)]
extern static int CreateProcess(string strImageName, string strCmdLine, IntPtr pProcessAttributes, IntPtr pThreadAttributes, int bInheritsHandle, int dwCreationFlags, IntPtr pEnvironment, IntPtr pCurrentDir, IntPtr bArray, ProcessInfo oProc);
public class ProcessInfo
[DllImport("coredll.Dll")]