mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Dialog window "Delete file" now placed in the center of the parent window
This commit is contained in:
parent
b20d2c71d9
commit
0582e34e1b
1 changed files with 1 additions and 0 deletions
|
|
@ -1239,6 +1239,7 @@ private void DeleteFileToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
{
|
||||
if (!string.IsNullOrEmpty(filePath))
|
||||
{
|
||||
PublicVar.messageBoxCenterParent = true;
|
||||
using (new CenterWinDialog(this))
|
||||
{
|
||||
if (MessageBox.Show(this, "Delete file: " + "\"" + filePath + "\"" + " ?", PublicVar.appName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue