18 lines
483 B
C#
18 lines
483 B
C#
using System;
|
|
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, performDependencyCheck: true, browserProcessHandler: null);
|
|
}
|
|
}
|
|
}
|