diff --git a/Crypto Notepad/Form2.cs b/Crypto Notepad/Form2.cs index 2985c51..05ee5e8 100644 --- a/Crypto Notepad/Form2.cs +++ b/Crypto Notepad/Form2.cs @@ -13,7 +13,7 @@ public Form2() private void button1_Click(object sender, EventArgs e) { - MainWindow.key = textBox1.Text; + MainWindow.encryptionKey = textBox1.Text; textBox1.Focus(); textBox1.Text = ""; OkPressed = true;