Exemple #1
0
 private void btnDiffieHellman_Click(object sender, EventArgs e)
 {
     if (!DFCipher.Visible)
     {
         DFCipher = new frmDiffieHellman();
         DFCipher.Show();
         this.Close();
     }
 }
 private void btnDiffieHellman_Click(object sender, EventArgs e)
 {
     if (!diffieHellman.Visible)
     {
         diffieHellman = new frmDiffieHellman();
         diffieHellman.Show();
     }
     else
     {
         diffieHellman.BringToFront();
     }
 }