As the title suggests, I just want to display a standard windows error icon for a custom exception handler. What the easiest way to 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.