Fixed bug when the app did not close

This commit is contained in:
Alexander 2018-12-17 15:03:08 +02:00
parent ad6b903caa
commit 1732efbc06

View file

@ -447,7 +447,7 @@ public void ContextMenuEncryptReplace()
if (res == DialogResult.Cancel)
{
Application.Exit();
Environment.Exit(0);
}
if (!args[1].Contains(".cnp"))
@ -950,7 +950,7 @@ private void findToolStripMenuItem2_Click(object sender, EventArgs e)
private void documentationToolStripMenuItem_Click(object sender, EventArgs e)
{
//Process.Start("https://github.com/Sigmanor/Crypto-Notepad/wiki/Documentation");
MessageBox.Show("currentFilename: "+ currentFilename);
MessageBox.Show("currentFilename: " + currentFilename);
MessageBox.Show("encryptionKey: " + PublicVar.encryptionKey.Get());
MessageBox.Show("TypedPassword: " + TypedPassword.Value);
MessageBox.Show("filePath: " + filePath);