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



Question:

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


Solution:1

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »