I have a Window set to the height and width of my monitors:
var r = System.Drawing.Rectangle.Union( System.Windows.Forms.Screen.AllScreens[0].Bounds, System.Windows.Forms.Screen.AllScreens[1].Bounds ); Height = r.Height; Width = r.Width;
All this is normal, until I close my computer (WIN + L), when I return, the window resized itself on only one monitor.
What I want to do is to prevent downsizing, as I draw on the canvas on the second monitor, and when resizing occurs, all this is lost.
Any thoughts on how I can prevent this?
Hooray!
source share