Esempio n. 1
0
        public UpdaterView(String url, String username, String password, bool start)
            : this()
        {
            updater = new Updater(url, username, password);

            IsStartDownload = start;
            NewVersion = updater.GetNewVersion();
            InstalledVersion = updater.InstalledVersion;
        }
Esempio n. 2
0
        public UpdaterView(String appname, String installv, String url, String username, String password, bool start)
            : this()
        {
            updater = new Updater(url, username, password) { InstalledVersion = installv };

            IsStartDownload = start;
            ApplicationName = appname;
            InstalledVersion = updater.InstalledVersion;
            lblTitle.Text = String.Format(title, ApplicationName);
            NewVersion = updater.GetNewVersion();
        }