最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

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

matteradmin6PV0评论

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?

Post a comment

comment list (0)

  1. No comments so far