private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { frmEncryptFile fef = new frmEncryptFile(); fef.Show(); this.Hide(); }
private void btnEncryptFileForm_Click(object sender, EventArgs e) { frmEncryptFile fef = new frmEncryptFile(); fef.Show(); this.Hide(); //fef.MdiParent = this; }
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); }