예제 #1
0
 void UpdateCheckProcess()
 {
     if (ModManagement.CheckForUpdate())
     {
         if (Locations.MessageBoxShow(string.Format("An update to Artemis has been detected.  Do you wish to apply that update to the copy that {0} runs?", Locations.AssemblyTitle),
                                      MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
         {
             ModManagement.ProcessUpdate();
         }
     }
 }