mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Added line breaks for better readability
This commit is contained in:
parent
feb0dcb16a
commit
a208e5202c
1 changed files with 8 additions and 0 deletions
|
|
@ -162,7 +162,15 @@ private async void OpenAsotiations()
|
||||||
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
DialogResult res = MessageBox.Show(this, "Try to decrypt \"" + PublicVar.openFileName + "\" file?", PublicVar.appName,
|
||||||
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||||
if (res == DialogResult.No)
|
if (res == DialogResult.No)
|
||||||
|
{
|
||||||
|
string opnfile = File.ReadAllText(args[1]);
|
||||||
|
string NameWithotPath = Path.GetFileName(args[1]);
|
||||||
|
richTextBox.Text = opnfile;
|
||||||
|
filePath = args[1];
|
||||||
Text = NameWithotPath + " – " + PublicVar.appName;
|
Text = NameWithotPath + " – " + PublicVar.appName;
|
||||||
|
StatusPanelFileInfo();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
await DecryptAES();
|
await DecryptAES();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue