Add app.manifest to WinForms example including HighDpi settings

Use Cef.EnableHighDPISupport(); also
This commit is contained in:
amaitland
2016-09-20 11:58:37 +10:00
committed by amaitland
parent 507ac7f326
commit 1197f37035
4 changed files with 66 additions and 1 deletions

View File

@@ -12,6 +12,9 @@ namespace CefSharp.MinimalExample.WinForms
[STAThread]
public static void Main()
{
//For Windows 7 and above, best to include relevant app.manifest entries as well
Cef.EnableHighDPISupport();
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(new CefSettings(), performDependencyCheck: true, browserProcessHandler: null);