Esempio n. 1
0
 private void RefreshHistoryInformation()
 {
     Task.Factory.StartNew(async() =>
     {
         var history = await UpdateService.GetUpdatesHistory();
         UIDispatcherHelper.CallOnUIThread(() => { VersionChanges = history; });
     });
 }
 void updateViewModel_CloseApplicationEventHandler(object sender, System.EventArgs e)
 {
     UIDispatcherHelper.CallOnUIThread(() => Application.Current.Shutdown());
 }