diff --git a/Crypto Notepad/Form1.cs b/Crypto Notepad/Form1.cs index fc16320..c0aaadf 100644 --- a/Crypto Notepad/Form1.cs +++ b/Crypto Notepad/Form1.cs @@ -75,7 +75,10 @@ void DecryptAES() return; } publicVar.okPressed = false; - + if (panel1.Visible == true) + { + findToolStripMenuItem2_Click(this, new EventArgs()); + } try { string opnfile = File.ReadAllText(OpenFile.FileName);