コード例 #1
0
 private void cipherForm_CancelCipher(object sender, EventArgs e)
 {
     if (rsaFileCipher != null && rsaFileCipher.Status == ProcessStatus.Processing)
     {
         rsaFileCipher.Stop();
         RefreshThread();
     }
     else
     {
         cipherForm.DialogResult = DialogResult.Cancel;
     }
 }
コード例 #2
0
 public void Stop()
 {
     rsaFileCipher.Stop();
 }