예제 #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);
        }
예제 #2
0
        static void Main()
        {
            var resolverArgs = CefSharpUtil.AddAssemblyResolverForCefSharp();

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

            Application.Run(appContext);
        }