예제 #1
0
 private static void pause(object _ = null, EventArgs __ = null)
 {
     using (var dlg = new PauseForDlg(_settings.PauseForDlgSettings))
     {
         var result = dlg.ShowDialog();
         _settings.SaveQuiet();
         if (result == DialogResult.Cancel)
         {
             return;
         }
         _runner.Pause(dlg.TimeSpan);
         updateResumeMenu();
     }
 }