Esempio n. 1
0
        public DownloaderForm(UpdateChecker updateChecker)
            : this(updateChecker.DownloadURL, updateChecker.Filename)
        {
            Proxy = updateChecker.Proxy;

            if (updateChecker is GitHubUpdateChecker)
            {
                AcceptHeader = "application/octet-stream";
            }
        }
Esempio n. 2
0
        public UpdaterForm(UpdateChecker updateChecker)
            : this()
        {
            URL = updateChecker.UpdateInfo.DownloadURL;
            Proxy = updateChecker.Proxy;
            Filename = updateChecker.UpdateInfo.Filename;
            lblFilename.Text = "Filename: " + Filename;

            if (updateChecker is GitHubUpdateChecker)
            {
                AcceptHeader = "application/octet-stream";
            }
        }
Esempio n. 3
0
 private void CheckingUpdate(CheckUpdate checkUpdate)
 {
     updateChecker = checkUpdate();
     UpdateControls();
     isBusy = false;
 }
Esempio n. 4
0
 private void CheckingUpdate(CheckUpdate checkUpdate)
 {
     updateChecker = checkUpdate();
     UpdateControls();
     isBusy = false;
 }