Skip to content

CloseReason Enum bad description #2844

@ryanmajidi

Description

@ryanmajidi

**Submitted to site feedback by @AlexYurkin **

Link to article:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.closereason?redirectedfrom=MSDN&view=netframework-4.8

Problem:
When you describe the fields of this Enumeration you state that the 'UserClosing' happens when: "The user is closing the form through the user interface (UI)". But this also happens when you use 'Close' method for a form in your code.
It would be great to distinguish the UI Closing from the code closing.

Metadata

Metadata

Assignees

Labels

area-WinFormsIssues or PRs that relate to WinForms.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions