Properties.Resources图标名称不会出现在智能感知 [英] Properties.Resources the icon name does not appear in the intellisense

查看:179
本文介绍了Properties.Resources图标名称不会出现在智能感知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图做出我需要一个图标,缩略图工具栏。所以我使用的资源文件夹中的解决方案管理器添加的图标。现在,当我做 Properties.Resources 图标名称不会出现。
码可以在这里找到:

I am trying to make a thumbnail toolbar for which I need an icon. So I added the icon using the solution explorer in the resources folder. Now, when I do Properties.Resources the icon name does not appear. Code can be found here:

问题显示

推荐答案

您还需要将图标添加到Resources.resx文件。在Visual Studio中打开它,你的图标拖动至RESX的图标菜单,它会变得可用。

You also need to add the icon to the Resources.resx file. Open it in Visual Studio and drag your icon into the Icons menu of the resx and it will become available.

这篇关于Properties.Resources图标名称不会出现在智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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