在Form构造函数InitializeComponent();上方加AutoScaleMode = AutoScaleMode.Dpi;代码即可 参考资料:https://blog.csdn.net/alex_zoucn/article/details/124162564