Updating the Closing event handlers to FormClosing event handlers doesn't work with Application.Exit() sometimes
Open
untriaged
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
### .NET version
.NET 10.0
### Did it work in .NET Framework?
No
### Did it work in any of the earlier releases of .NET Core or .NET 5+?
Unknown
### Issue description
When a Window Forms main form creates a second form, Application.Exit() doesn't work with the FormClosing event but does work with the Closing event when the event argument Cancel value is set to true by the second form.
### Steps to reproduce
Contributor guide
Assessment
This issue has not been assessed yet.