空类设计器工具箱 [英] Empty Class Designer Toolbox

查看:73
本文介绍了空类设计器工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

每当我在Visual Studio 2008 IDE中向我的项目中添加类设计器(.cd)文件时,工具箱中便根本没有任何工具(指针和注释工具始终无用).当我右键单击工具箱并选择全部显示"时,显示的所有工具均显示为灰色(不可用).

Hi All,

Whenever I add a Class Designer (.cd)file to my Project in Visual Studio 2008 IDE, there are no tools at all in the toolbox(except for pointer and comment tools which are useless anyway). When I right click in the toolbox and choose show all, all the tools shown are grayed out (not usable).

推荐答案

您希望使用哪些工具类设计器文件?工具箱中没有可用的控件可用于该类型的文件,因此VS禁用/将它们灰显了!
What tools you are expecting to be available for class designer file? None of the controls available in the toolbox can be used on that type of file, thus VS disable/gray them out!


我认为至少可以使用类设计器创建一个类的框架,以便VS可以为此框架生成相应的代码.就像VS会为C#表单生成相应的代码一样.这就是我在MSDN中看到的.
I thought that it is possible to use the class designer to at least create the skeleton of a class so that VS can generate the corresponding code for this skeleton.Just as VS will generate the corresponding code for a C# form. This is what I saw in MSDN.


这篇关于空类设计器工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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