Skip to content

Commit

Permalink
Add images for MessageBoxIcons (#683)
Browse files Browse the repository at this point in the history
* added images

* cleaned up language

* Revert "cleaned up language"

This reverts commit 7f6bd2d.

* Revert "added images"

This reverts commit 9c47831.

* add table to MessageBoxIcon.xml

* Update to Win10 icons in PNGs
  • Loading branch information
Nic Hartley authored and Thraka committed Nov 13, 2018
1 parent d63f79d commit 9db046f
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 11 deletions.
Binary file removed add/media/messagebox-asterisk.gif
Binary file not shown.
Binary file added add/media/messagebox-asterisk.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-error.gif
Binary file not shown.
Binary file added add/media/messagebox-error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-exclamation.gif
Binary file not shown.
Binary file added add/media/messagebox-exclamation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-hand.gif
Binary file not shown.
Binary file added add/media/messagebox-hand.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-information.gif
Binary file not shown.
Binary file added add/media/messagebox-information.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-question.gif
Binary file not shown.
Binary file added add/media/messagebox-question.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-stop.gif
Binary file not shown.
Binary file added add/media/messagebox-stop.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed add/media/messagebox-warning.gif
Binary file not shown.
Binary file added add/media/messagebox-warning.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions xml/System.Windows.Forms/MessageBoxIcon.xml
Expand Up @@ -82,7 +82,20 @@ Private Sub Form1_FormClosing( _
End If
End Sub
```
This table shows the different icons:
|Icon|Name|
|-|-|
|![White X in red circle](~/add/media/messagebox-hand.png "White X in red circle")|Hand|
|![White question mark in blue circle](~/add/media/messagebox-question.png "White question mark in blue circle")|Question|
|![Black exclamation point in yellow triangle](~/add/media/messagebox-exclamation.png "Black exclamation point in yellow triangle")|Exclamation|
|![White lowercase i in blue circle](~/add/media/messagebox-asterisk.png "White lowercase i in blue circle")|Asterisk|
|![White X in red circle](~/add/media/messagebox-stop.png "White X in red circle")|Stop|
|![White X in red circle](~/add/media/messagebox-error.png "White X in red circle")|Error|
|![Black exclamation point in yellow triangle](~/add/media/messagebox-warning.png "Black exclamation point in yellow triangle")|Warning|
|![White lowercase i in blue circle](~/add/media/messagebox-information.png "White lowercase i in blue circle")|Information|
]]></format>
</remarks>
</Docs>
Expand Down Expand Up @@ -286,4 +299,4 @@ End Sub
</Docs>
</Member>
</Members>
</Type>
</Type>
18 changes: 9 additions & 9 deletions xml/System.Windows/MessageBoxImage.xml
Expand Up @@ -23,14 +23,14 @@
|||
|-|-|
|![Hand icon](~/add/media/messagebox-hand.gif "Hand icon")|Hand|
|![Question icon](~/add/media/messagebox-question.gif "Question icon")|Question|
|![Exclamation icon](~/add/media/messagebox-exclamation.gif "Exclamation icon")|Exclamation|
|![Asterisk icon](~/add/media/messagebox-asterisk.gif "Asterisk icon")|Asterisk|
|![Stop icon](~/add/media/messagebox-stop.gif "Stop icon")|Stop|
|![Error icon](~/add/media/messagebox-error.gif "Error icon")|Error|
|![Warning icon](~/add/media/messagebox-warning.gif "Warning icon")|Warning|
|![Information icon](~/add/media/messagebox-information.gif "Information icon")|Information|
|![Hand icon](~/add/media/messagebox-hand.png "Hand icon")|Hand|
|![Question icon](~/add/media/messagebox-question.png "Question icon")|Question|
|![Exclamation icon](~/add/media/messagebox-exclamation.png "Exclamation icon")|Exclamation|
|![Asterisk icon](~/add/media/messagebox-asterisk.png "Asterisk icon")|Asterisk|
|![Stop icon](~/add/media/messagebox-stop.png "Stop icon")|Stop|
|![Error icon](~/add/media/messagebox-error.png "Error icon")|Error|
|![Warning icon](~/add/media/messagebox-warning.png "Warning icon")|Warning|
|![Information icon](~/add/media/messagebox-information.png "Information icon")|Information|
For a sample that demonstrates several options when using the <xref:System.Windows.MessageBox>, see [MessageBox Sample](http://go.microsoft.com/fwlink/?LinkID=160023).
Expand Down Expand Up @@ -232,4 +232,4 @@
</Docs>
</Member>
</Members>
</Type>
</Type>

0 comments on commit 9db046f

Please sign in to comment.