When I was working on a small project recently, I found the code written on the 1680x1050 resolution display, set the width and heightof the form to 1600x900, and the zoom display was normal at a resolution above 1600x900.
And then move to a resolution below 1600x900 when scaling is not displayed properly.
then tracking this.width, the This.width value is not 1600 on the display below the 1600x900 resolution, but is higher than the maximum resolution of the current monitor a little bit , in view of this, the maximum width and height of the form in the actual project cannot be set too large, You may get an error when zooming the form.
After many tests, this is the case!
Note: If you must set the length of the high-resolution display on the long-width, placed below the set of long-width resolution of the display on the normal operation, when scaling, to write a fixed width value autowidth=1600; not autowidth= This.width;
This.width and This.height property values for forms in C # WinForm cannot be greater than the maximum resolution of the display