An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Have you made your application DPI aware?
Try making your application DPI-Aware:
- Add new Item, and search for manifest. Choose Application Manifest File to your project.
- In the app.manifest file, uncomment the part that is related to DPI-Awareness:
<application xmlns="urn:schemas-microsoft-com:asm.v3"> <windowsSettings> <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware> </windowsSettings> </application> - Then in your app.config file, add EnableWindowsFormsHighDpiAutoResizing setting its value to true:
<appSettings> <add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/> </appSettings>
Now when you run the application, on different DPI everything should work well.