Exemplo n.º 1
0
		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();
													}
												}
			                             	};
		}
Exemplo n.º 2
0
 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();
             }
         }
     };
 }