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; }
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(); }