WindowRestorer MultipleMonitorMaximize Method CleanCode C# Libraries v1.2.03 API
Maximizes a form over multiple monitors.

Namespace: CleanCode.Forms
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public bool MultipleMonitorMaximize()

Return Value

true if form was resized to multiple monitors

Allows for the main monitor being the leftmost (in which case its top-left corner is the top-left corner of the spread) or not the leftmost (in which case the top-left corner is negative). Assumes that monitors are laid out in a single horizontal line. Allows for differing monitor height, using the smallest so that the entire form window is visible.
See Also