开发者

How to change appearance of winforms in vb.net as per Windows display setting? [duplicate]

开发者 https://www.devze.com 2023-03-14 14:05 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to control the font DPI in .NET WinForms app
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to control the font DPI in .NET WinForms app

How to change the Appearance/UI of win-forms in vb.net as per Windows display setting?

default windows display setting is 100%, if i change it to 125% then my win-forms in my application doesn't display 开发者_运维技巧properly as per display settings.

can anyone help that how to do it?

Thanks,

Pradip Shinde.


Try setting the AutoScaleMode for your forms to Font or DPI - the framework should handle scaling automatically.

If that doesn't help, details on what you mean by "doesn't display properly as per display settings" means. Screenshots would help, too.

0

精彩评论

暂无评论...
验证码 换一张
取 消