Пример #1
0
        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDecryptingFile fdf = new frmDecryptingFile();

            fdf.Show();
            this.Hide();
        }
Пример #2
0
        private void btnDecryptFileForm_Click(object sender, EventArgs e)
        {
            frmDecryptingFile fdf = new frmDecryptingFile();

            fdf.Show();
            this.Hide();
            //fdf.MdiParent = this;
        }
Пример #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);
        }