Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upFormClosed event is raised twice for owned modal window when owner window is closed programatically #2451
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See attached sources. I can reproduce this issue with .Net Core 3.0 and .Net Framework 4.7.2
The second call to OnFormClosed() seems to be a side effect of shutting down the modal message loop that was created to run the child window.
BugFormClosedRaisedTwice.zip