Beispiel #1
0
 private void btnCaesarInfo_Click(object sender, EventArgs e)
 {
     if (!caesarInfo.Visible)
     {
         caesarInfo = new frmCaesarInfo();
         caesarInfo.Show();
         if (txtMessage.Text != "" && txtKey.Text != "")
         {
             caesarInfo.setMessageAndKey(txtMessage.Text, txtKey.Text);
         }
         this.Close();
     }
 }
Beispiel #2
0
 private void frmCaesar_Load(object sender, EventArgs e)
 {
     rdoBtnEncrypt.Checked = true;
     caesarInfo            = new frmCaesarInfo();
 }