static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, InvokeStructs.SetWindowPosFlags uFlags);
static extern IntPtr WindowFromPoint(InvokeStructs.POINT Point);
public ProgramWindow(string windowTitle, InvokeStructs.RECT windowRect) { WindowTitle = windowTitle; WindowRect = windowRect; }
static extern bool GetWindowRect(IntPtr hwnd, out InvokeStructs.RECT lpRect);