コード例 #1
0
        private async void CefDownloadView_Loaded(object sender, RoutedEventArgs e)
        {
            var cefSharpEnvBuilder = new CefSharpEnvBuilder(_registery);
            await cefSharpEnvBuilder.Do();

            Close();
        }
コード例 #2
0
ファイル: DownloadForm.cs プロジェクト: pkudrel/MinimalCef
        private async void DownloadForm_Load(object sender, EventArgs e)
        {
            progressBar.Maximum = 100;
            progressBar.Minimum = 0;


            PackageName.Text  = _reg.CefSharpPackageName;
            CefSharpPath.Text = _reg.GlobalCefSharpEnvPath;
            var cefSharpEnvBuilder = new CefSharpEnvBuilder(_reg, Log, Progress);
            await cefSharpEnvBuilder.Do();

            Close();
        }