dotnet / dotnet/docs-desktop

[winforms] Document the Application type, specifically, the DoEvents object

Open
#1,647 0 comments 0 reactions 0 assignees View on GitHub
doc-idea dotnet-desktop/svc Pri3 winforms/subsvc
Dominant language
C#
Stars
237
Forks
191
Avg merge
4d 16h
Merged PRs (30d)
3

Description

The `Application` type in WinForms isn't documented. `DoEvents` is a commonly used method to unblock the UI thread, however, it should be used careful and people frequently use it when there are better alternatives to choose from. `DoEvents` should be documented.

Reference articles:
- https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.application.doevents?view=windowsdesktop-7.0
- https://stackoverflow.com/questions/11352301/how-to-use-doevents-without-being-evil

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.