Dialog window "Delete file" now placed in the center of the parent window

This commit is contained in:
Alexander 2019-11-19 16:05:29 +02:00
parent b20d2c71d9
commit 0582e34e1b

View file

@ -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,