dotnet/winforms
在 GitHub 查看FormClosed event is raised twice for owned modal window when owner window is closed programatically
Open
#2,451 创建于 2019年11月29日
:beetle: bughelp wanted
仓库指标
- Star
- (4,100 star)
- PR 合并指标
- (平均合并 14天 22小时) (30 天内合并 56 个 PR)
描述
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.