[fix] #631810: Form.DialogResult needs to call its close events *before* closing.
* Form.cs: When setting DialogResult call RaiseCloseEvents instead of directly setting 'closing', since we need to have our FormClosing event invoked *before* the form dissapears, so the user can properly cancel the close operation if desired. Fixes #631810.
Showing
想要评论请 注册 或 登录