public Arma2Updater() { Installer = new Arma2Installer(); Installer.PropertyChanged += (sender, args) => { if(args.PropertyName == "IsRunning") { PropertyHasChanged("InstallButtonVisible"); } else if(args.PropertyName == "Status") { if(Installer.Status == "Install complete") { CheckForUpdates(); } } }; }
public Arma2Updater() { Installer = new Arma2Installer(); Installer.PropertyChanged += (sender, args) => { if (args.PropertyName == "IsRunning") { PropertyHasChanged("InstallButtonVisible"); } else if (args.PropertyName == "Status") { if (Installer.Status == "Install complete") { CheckForUpdates(); } } }; }