示例#1
0
文件: Send.cs 项目: and3k5/mermail
 private void encSetBtn_Click(object sender, EventArgs e)
 {
     //shows the encryption form
     encryptForm encForm = new encryptForm();
     if (encForm.ShowDialog() == DialogResult.OK)
     {
         useSymmetric = encForm.rtnUseSymmetric;
         useAsymmetric = encForm.rtnUseAsymmetric;
         public_key = encForm.public_key;
         SymmetricKey = encForm.SymmetricKey;
     }
 }
示例#2
0
文件: Send.cs 项目: and3k5/mermail
        private void encSetBtn_Click(object sender, EventArgs e)
        {
            //shows the encryption form
            encryptForm encForm = new encryptForm();

            if (encForm.ShowDialog() == DialogResult.OK)
            {
                useSymmetric  = encForm.rtnUseSymmetric;
                useAsymmetric = encForm.rtnUseAsymmetric;
                public_key    = encForm.public_key;
                SymmetricKey  = encForm.SymmetricKey;
            }
        }