public static void SetWindowPlacement(Form form, WindowPlacement placement) { SetWindowPlacement(form.Handle, ref placement); CheckLastError(); }
private static extern bool SetWindowPlacement(IntPtr hWnd, [In] ref WindowPlacement lpwndpl);