如何显示自定义异常处理程序的标准 Windows 错误图标?

发布于 2024-09-08 05:55:00 字数 276 浏览 1 评论 0原文

正如标题所示,我只想为自定义异常处理程序显示标准 Windows 错误图标。使用 WPF 实现此目的最简单的方法是什么?

例如,此对话框中的红十字:

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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧人 2024-09-15 05:55:00

查看System.Drawing.SystemIcons。所有标准对话框图标都可供您使用。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文