Esempio n. 1
0
 private void rbImportRSA_CheckedChanged(object sender, EventArgs e)
 {
     if (rbImportRSA.Checked)
     {
         using (frmImportPEM frm = new frmImportPEM())
         {
             if (frm.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
             {
                 _parameters = frm.Parameters;
             }
             else
             {
                 rbAutoGenRSA.Checked = true;
                 rbImportRSA.Checked  = false;
             }
         }
     }
 }
Esempio n. 2
0
 private void rbImportRSA_CheckedChanged(object sender, EventArgs e)
 {
     if (rbImportRSA.Checked)
     {
         using (frmImportPEM frm = new frmImportPEM())
         {
             if (frm.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
             {
                 _parameters = frm.Parameters;
             }
             else
             {
                 rbAutoGenRSA.Checked = true;
                 rbImportRSA.Checked = false;
             }
         }
     }
 }