예제 #1
0
파일: Updater.cs 프로젝트: MEsterel/GenPlan
 public void DoUpdateAsync()
 {
     try
     {
         updater.DoUpdateAsync();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Impossible d'effectuer la mise à jour. Détails : " + ex.Message, "Erreur", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return;
     }
 }
예제 #2
0
 public void CheckForUpdatesAsync()
 {
     updater.DoUpdateAsync();
 }
예제 #3
0
파일: Form1.cs 프로젝트: MEsterel/MUpdate
 private void button1_Click(object sender, EventArgs e)
 {
     update.DoUpdateAsync();
 }
예제 #4
0
 public void DoUpdateAsync()
 {
     update.DoUpdateAsync();
 }