Exemplo n.º 1
0
 private void btnDecrypt_Click(object sender, EventArgs e)
 {
     if (!tbDecrypt.Text.IsNullOrEmpty())
     {
         tbSource.Text = Secret.DecryptDES(tbDecrypt.Text);
     }
     else
     {
         MessageBox.Show("计算解密字符串时,加密字符串不能为空");
     }
 }