在使用win10高辨别率150%,200%系统进行winform开发时, 会有构造错杂的现象,好比之前界说的300px的宽度,往往被设置成600px (200%辨别率下).
这个问题vs2015的解决要领就是,改削设置使vsstudio对dpi无感知, 要领就是改注册表.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\devenv.exe] "dpiAwareness"=dword:00000000
下载
ref :https://code4ward.net/2016/11/29/visual-studio-winforms-designer-on-highdpi/
ref:https://blogs.msdn.microsoft.com/visualstudio_cn/2014/05/21/visual-studio-2013dpi/
,