When you create a new “Windows Form App” on Visual Studio, AutoScaleMode will attract attention of you in the mids of automatic codes (under the “Form1.Designer.cs”).
This property, which is an enum member of the System.Windows.Forms library, determines behavior of form size in different display resolutions.
It has three forms of behavior:
|• Dpi||: Resizing according to display resolution.|
|• Font||: Scaling according to font size.|
|• None||: This is the default value. It disables the auto scaling.|