Make sure you enable “High DPI Aware” in your project manifest. This should take care of most problems related to desktop scaling. See also this old post by Shawn Lipowski.
Look for the setting in your Options window. It may look slightly different, depending on the version of Visual Studio you use.