CefSharp.MinimalExample/CefSharp.MinimalExample.Wpf/App.xaml.cs

17 lines
470 B
C#

using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
var settings = new CefSettings();
settings.EnableInternalPdfViewerOffScreen();
Cef.Initialize(settings, shutdownOnProcessExit: false, performDependencyCheck: true);
}
}
}