我可以在WPF中使用系统的默认保存/新建/等文件图标吗? [英] Can I use the system's default save/new/etc file icons in WPF?

查看:65
本文介绍了我可以在WPF中使用系统的默认保存/新建/等文件图标吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

系统的默认图标"是我在Office等应用程序中看到的打开/新建/保存图标.

What I refer to by "system's default icons" are the open/new/save icons I see in applications like Office.

我想知道能否以某种方式引用它们,因为它们看起来像是标准图标.还是我必须在其他地方找到这些图标并将它们嵌入到我的应用程序中?

I wondered if I can somehow reference these, because they seem like standard icons. Or do I have to find those icons elsewhere and embed them into my applications?

推荐答案

来自此博客帖子,作者布拉德·艾布拉姆斯(Brad Abrams)早在2006年:

From this blog post by Brad Abrams back in 2006:

一个客户最近问我是否可以在其应用程序中使用标准的Microsoft资源管理器图标.答案是肯定的!实际上,索马(Soma)在博客中发布了扩展的我们在VS2005中拥有的图标,但基本上您可以在%vs安装路径%/common7/ide/vs2005imagelibrary/vs2005imagelibrary.zip中找到VS 2005图像库.我们许可重复使用的Windows,Office和Visual Studio图标都包含在其中.

A customer recently asked me if they can use the standard Microsoft explorer icons in their applications. The answer is yes! In fact Soma blogged about the extended set of Icons we have in VS2005, but basically you can find the VS 2005 Image Library at %vs install path%/common7/ide/vs2005imagelibrary/vs2005imagelibrary.zip. The Windows, Office, and Visual Studio icons that we license for reuse are all contained in there.

是的,它谈论的是VS 2005,但同样适用于VS 2008和VS2010.对我而言(在32位计算机上使用VS 2008),路径为:

Yes it's talking about VS 2005, but the same will apply for VS 2008 and VS 2010. For me (with VS 2008 on a 32 bit machine) the path is:

C:\ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ VS2008ImageLibrary \ 1033 \ VS2008ImageLibrary.zip

C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip

我刚刚安装了VS2010,路径为:

I've just installed VS2010 and the path is:

C:\ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \ VS2010ImageLibrary \ 1033 \ VS2010ImageLibrary.zip

C:\Program Files\Microsoft Visual Studio 10.0\Common7\VS2010ImageLibrary\1033\VS2010ImageLibrary.zip

这篇关于我可以在WPF中使用系统的默认保存/新建/等文件图标吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆