Ejemplo 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;
             }
         }
     }
 }
Ejemplo 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;
             }
         }
     }
 }