예제 #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();
         }
     }
 }
예제 #2
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();
         }
     }
 }