win7有些电脑form布局发生变化

原因:电脑设置呢文字大小放大到100%、125%、150%。

解决办法:

  • Set AutoScaleMode to None.     Form的AutoScaleMode=None

  • Use "Pixel" as the Unit Type for all Fonts, instead of the default Point value.   所有字体用pix,默认是Point,点击Form设置Font就可以改全部的字体了。

原文地址:https://www.cnblogs.com/yzy666/p/9531814.html