예제 #1
0
 private void btMyKeys_Click(object sender, EventArgs e)
 {
     try
     {
         //if (String.IsNullOrEmpty(mainGen.mainRSA.ToXmlString(true)))
         //    return;
         this.Hide();
         MyKeys mK = new MyKeys(mainGen);
         mK.ShowDialog();
         this.Show();
     }
     catch
     {
         // Se cai aqui, quer dizer que não existem chaves.
         // Saia.
         return;
     }
 }