Beispiel #1
0
 private void ShowUpdates()
 {
     using (UpdatesForm updatesForm = new UpdatesForm())
     {
         if (updatesForm.ShowDialog(this) == DialogResult.OK)
         {
             Invoke(new MethodInvoker(DownloadUpdates));
         }
         else if (updatesForm.DoNotShowAgain)
         {
             _updater.Stop();
         }
     }
 }
 private void ShowUpdates()
 {
     using (UpdatesForm updatesForm = new UpdatesForm())
     {
         if (updatesForm.ShowDialog(this) == DialogResult.OK)
         {
             Invoke(new MethodInvoker(DownloadUpdates));
         }
         else if (updatesForm.DoNotShowAgain)
         {
             _updater.Stop();
         }
     }
 }