How do I display a standard windows error icon for a custom exception handler?
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.
精彩评论