gpt4 book ai didi

.net - Windows窗体错误解析VB.NET

转载 作者:行者123 更新时间:2023-12-03 16:26:51 24 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)?

(5 个回答)


5年前关闭。




当我开始我的应用程序时,结果如下:
enter image description here

我也尝试过使用地铁 gui,但没有...

另外我的问题是,我应该设置 Visual Studio 的什么选项来获得 winform 的正常(不模糊)分辨率?

最佳答案

这是因为您的应用程序不支持 DPI 并且您的显示设置未设置为默认缩放

最简单的解决方法可能是设置 dpiAwaretrue在应用程序 list ( Project Properties>Application Tab>View Windows Settings Button ) 中。

有关详细信息,请参阅此答案:How to configure an app to run correctly on a machine with a high DPI setting (e.g. 150%)?

有关更多详细信息,请参阅此文章 Why does a High DPI Setting Make My Application Look Fuzzy and Have Clipped Text?

另见这篇文章 Writing DPI-Aware Desktop and Win32 Applications

关于.net - Windows窗体错误解析VB.NET,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38374350/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com