开发者

How do I display a standard windows error icon for a custom exception handler?

开发者 https://www.devze.com 2023-01-05 14:32 出处:网络
As the title suggests, I just want to display a standard windows error icon for a custom exception handler. What the easiest way 开发者_StackOverflowto achieve this using WPF?

As the title suggests, I just want to display a standard windows error icon for a custom exception handler. What the easiest way 开发者_StackOverflowto achieve this using WPF?

For example, the red cross in this dialog:

alt text http://blogs.sun.com/coreqa/resource/other/report-exception.jpg


Have a look in System.Drawing.SystemIcons. All the standard dialog icons are there for your use.

0

精彩评论

暂无评论...
验证码 换一张
取 消