dotnet / dotnet/dotnet-api-docs

Example uses deprecated value `MessageBoxIcon.Question`

Open
#804 1 comment 0 reactions 0 assignees View on GitHub
.net/prod area-WinForms Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The `MessageBoxIcon.Question` value is deprecated. The example should use a different icon, for example `MessageBoxIcon.Warning`.

See [`MessageBoxIcon.Question`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.messageboxicon?view=netframework-4.7.2#System_Windows_Forms_MessageBoxIcon_Question)

Note that the description text in front of the example references the "question mark".

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: ffbc3a27-166c-b8d8-4471-bc9901897fe9
* Version Independent ID: bab01f6b-f648-f159-990b-39ecd1553f2b
* Content: [MessageBoxDefaultButton Enum (System.Windows.Forms)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.messageboxdefaultbutton?view=netframework-4.7.2)
* Content Source: [xml/System.Windows.Forms/MessageBoxDefaultButton.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Forms/MessageBoxDefaultButton.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnet-bot**

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.