c# - Problem in Winforms .NET Core designer and Windows DPI - Stack Overflow

admin2025-04-26  9

I get a new computer with high resolution screen, but it causes a problem for me with my old projects. I already have a Windows application I built it with .NET Core, and when I transferred my code to the new PC with Windows 11, I faced a problem that

Scaling on your main display is set to 250%

After instructions, I put these two lines in the main configuration file, as shown in this screenshot:

It is working, but at design time only, and at runtime, the problem is still present, as shown here:

How can I fix this problem? And if I did, will it affect my release versions on the client's PC's in the future?

Can anyone please help me?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745650962a312167.html

最新回复(0)