Ejemplo n.º 1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var resolverArgs = CefSharpUtil.AddAssemblyResolverForCefSharp();
            var cefSettings  = WPF.EntClient.BuildDefaultCefSettings();

            cefSettings.IgnoreCertificateErrors = true;
            WPF.EntClient.Initialize(cefSettings, resolverArgs);
        }
Ejemplo n.º 2
0
        static void Main()
        {
            var resolverArgs = CefSharpUtil.AddAssemblyResolverForCefSharp();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var appContext = new WinFormsSampleApplicationContext(resolverArgs);

            Application.Run(appContext);
        }