private void exitToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmEncryptText fet = new frmEncryptText();

            fet.Show();
            this.Hide();
        }
Example #2
0
        private void btnEncryptTextForm_Click(object sender, EventArgs e)
        {
            frmEncryptText fet = new frmEncryptText();

            fet.Show();
            this.Hide();

            //fet.MdiParent = this;
        }
Example #3
0
        protected override void OnFormClosing(FormClosingEventArgs e)
        {
            frmDecryptingFile fdf = new frmDecryptingFile();

            if (CheckForm(fdf))
            {
                fdf.Dispose();
            }

            frmDecryptText fdt = new frmDecryptText();

            if (CheckForm(fdt))
            {
                fdt.Dispose();
            }

            frmEncryptFile fef = new frmEncryptFile();

            if (CheckForm(fef))
            {
                fef.Dispose();
            }

            frmEncryptText fet = new frmEncryptText();

            if (CheckForm(fet))
            {
                fet.Dispose();
            }

            Clipboard.Clear();

            Application.ExitThread();

            base.OnFormClosing(e);
        }