mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed bug with invisible "Save file?" dialog window
This commit is contained in:
parent
efefad0c02
commit
349dfbb853
1 changed files with 4 additions and 0 deletions
|
|
@ -773,6 +773,10 @@ private void MainWindow_FormClosing(object sender, FormClosingEventArgs e)
|
|||
{
|
||||
PublicVar.messageBoxCenterParent = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
PublicVar.messageBoxCenterParent = false;
|
||||
}
|
||||
using (new CenterWinDialog(this))
|
||||
{
|
||||
DialogResult res = MessageBox.Show(this, messageBoxText, PublicVar.appName, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
|
||||
|
|
|
|||
Loading…
Reference in a new issue