Exemplo n.º 1
0
        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDecryptingFile fdf = new frmDecryptingFile();

            fdf.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void btnDecryptFileForm_Click(object sender, EventArgs e)
        {
            frmDecryptingFile fdf = new frmDecryptingFile();

            fdf.Show();
            this.Hide();
            //fdf.MdiParent = this;
        }
Exemplo n.º 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);
        }