mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Now when click "Cancel" in the "Enter Key" window, app will close.
This commit is contained in:
parent
6606caf589
commit
c14f525569
1 changed files with 14 additions and 0 deletions
|
|
@ -122,8 +122,15 @@ private void OpenAsotiations()
|
|||
{
|
||||
OpenAsotiations();
|
||||
}
|
||||
if (dialogResult == DialogResult.Cancel)
|
||||
{
|
||||
if (!Visible)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string opnfile = File.ReadAllText(args[1]);
|
||||
|
|
@ -164,8 +171,15 @@ private void SendTo()
|
|||
{
|
||||
SendTo();
|
||||
}
|
||||
if (dialogResult == DialogResult.Cancel)
|
||||
{
|
||||
if (!Visible)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string opnfile = File.ReadAllText(argsPath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue