private void button2_Click(object sender, EventArgs e) { StringCryptography sTR = new StringCryptography(); createLogs.logs(textBox1.Text + "Encrypted to " + textBox2.Text); textBox2.Text = sTR.enryptor(textBox1.Text); }