From 0582e34e1b8e08e12fe25b6eae8dd614096b032c Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 19 Nov 2019 16:05:29 +0200 Subject: [PATCH] Dialog window "Delete file" now placed in the center of the parent window --- Crypto Notepad/MainForm.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index cf13d82..5f06ad4 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -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,