When running one of our Windows Forms applications on Windows 10, the graphical interface looks pretty bad, because the scaling seems to be confused. Here are some screenshots of 1920x1080 (note the different sizes of the second pair): 



The scaling option in the Windows 10 display settings is set to 100% (therefore, no additional scaling is required). In addition, when the program starts, the following code is executed:
static void Main() { if (Environment.OSVersion.Version.Major >= 6)
This block of code helps a bit, as it looks much worse on Windows 10 without. But this is not very good ... does anyone know how to "restore" the GUI so that it looks exactly the same as in Windows 7 or 8?
Cleo source share