Skip to content

Commit

Permalink
Fix closing alert
Browse files Browse the repository at this point in the history
  • Loading branch information
EndermanPC committed Jul 9, 2024
1 parent 280e4e5 commit ebacf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private void OnClosing(object sender, CancelEventArgs cancelEventArgs)
if (result == DialogResult.Yes)
Application.Exit();
else if (result == DialogResult.No)
cancelEventArgs.Cancel = false;
cancelEventArgs.Cancel = true;

}
}
Expand Down

0 comments on commit ebacf6f

Please sign in to comment.