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