コード例 #1
0
 internal async Task BeginUpdate()
 {
     this.DownloadComplete += async (s, e) =>
     {
         await InstallerCommon.ExtractZipFile(e.completedFilePath, installPath);
         var completed = new UIComplete(installPath);
         completed.Show();
         completed.Activate();
         this.SyncCloseWindow();
     };
     this.Show();
     this.Start();
 }
コード例 #2
0
        internal async Task BeginUpdate()
        {
            this.DownloadComplete += async(s, e) =>
            {
                await InstallerCommon.ExtractZipFile(e.completedFilePath, installPath);

                var completed = new UIComplete(installPath);
                completed.Show();
                completed.Activate();
                this.SyncCloseWindow();
            };
            this.Show();
            this.Start();
        }