c# form set auto scale code example Example: c# form set auto scale Form.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;