Windows 应用程序的默认图标?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/546704/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:03:11  来源:igfitidea点击:

Default icons for Windows applications?

windowsicons

提问by BeefTurkey

Does Visual Studio or MSDN provides a default set of icons for desktop applications, i.e. icons for common actions, GUI elements, data types, etc?

Visual Studio 或 MSDN 是否为桌面应用程序提供一组默认图标,即常见操作、GUI 元素、数据类型等的图标?

For instance, I have a button that the user clicks on to select a file, it would be nice if I could use Windows' standard folder icon.

例如,我有一个按钮,用户可以点击它来选择一个文件,如果我可以使用 Windows 的标准文件夹图标,那就太好了。

采纳答案by casperOne

You should be able to find the icons in a zip file named "VS2008ImageLibrary.zip" located here:

您应该能够在位于此处的名为“VS2008ImageLibrary.zip”的 zip 文件中找到图标:

%Program Files%\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033

%Program Files%\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033

回答by coeing

For Visual Studio 2012 and 2013:

对于 Visual Studio 2012 和 2013:

The icons are not in the program folder any more.

图标不再位于程序文件夹中。

You can download the Visual Studio Image Library which contains most of the icons at http://www.microsoft.com/en-us/download/details.aspx?id=35825

您可以在http://www.microsoft.com/en-us/download/details.aspx?id=35825下载包含大部分图标的 Visual Studio 图像库

It contains many icons from Visual Studio, Office,...

它包含许多来自 Visual Studio、Office、...

回答by Jon Erickson

check out http://www.famfamfam.com/lab/icons/very nice and exhaustive icon sets. as far as I can tell they are free.

查看http://www.famfamfam.com/lab/icons/非常漂亮和详尽的图标集。据我所知,他们是免费的。

回答by jheriko

There is an image library packaged with Visual Studio. Do a search for icon files in the Visual Studio install directory to reveal its location. It may or may not be there, or will be in different locations, depending on the version of VS you have installed.

有一个与 Visual Studio 一起打包的图像库。在 Visual Studio 安装目录中搜索图标文件以显示其位置。它可能存在也可能不存在,或者位于不同的位置,具体取决于您安装的 VS 版本。

If memory serves the Express editions come without this feature, but all other versions since at least Visual Studio .NET do.

如果没记错的话,Express 版本没有此功能,但至少 Visual Studio .NET 之后的所有其他版本都有。