Esempio n. 1
0
 private void UpdateView(GameUpdateChangedEventArgs e)
 {
     this.Message        = e.Message;
     this.UpdateProgress = e.Progress;
     this.OldVersionName = e.OldVersion;
     this.NewVersionName = e.NewVersion;
 }
Esempio n. 2
0
 private void Updater_StatusChanged(object sender, GameUpdateChangedEventArgs e)
 {
     UpdateView(e);
     // shutdown
     // restart, whatnot
 }
Esempio n. 3
0
 private void Updater_UpdateCompleted(object sender, GameUpdateChangedEventArgs e)
 {
     UpdateView(e);
 }