示例#1
0
 private void onCancel()
 {
     if (!Cancel.IsNull() && Cancel())
     {
         _aborted = true;
         if (!Process.IsNull() && !Process.HasExited)
         {
             Process.StandardInput.Write('q');
         }
     }
 }