如何完成msdn演练ref:Composite Control [英] How to complete a msdn walkthrough ref: Composite Control

查看:69
本文介绍了如何完成msdn演练ref:Composite Control的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2013.我正在尝试完成msdn演练......使用Visual Basic创建复合控件的演练,网址为https://msdn.microsoft.com/en-us/library/c316f119 (v = VS.80)的.aspx。我能够完成90%的演练,直到达到下面显示的第5项。

I am using Visual Studio 2013. I am trying to complete a msdn walkthrough... "Walkthrough Authoring a Composite Control with Visual Basic" at URL https://msdn.microsoft.com/en-us/library/c316f119(v=vs.80).aspx. I am able to get through 90% of the walkthrough until I reach item 5 shown below.

1.In Solution Explorer, right-click ctlClockLib, and then click Build.
2.On the File menu, point to Add, and then click New Project.
3.Add a new Windows Application project to the solution, and name it Test.

The Test project is added to Solution Explorer.

4.In Solution Explorer, right-click the Test project node, and then click Add Reference to display the Add Reference dialog box.
5.Click the tab labeled Projects. The project ctlClockLib will be listed under Project Name. Double-click ctlClockLib to add the reference to the test project.
6.In Solution Explorer, right-click Test, and then click Build.
7.In the Toolbox, expand the ctlClockLib Components node.
8.Double-click ctlAlarmClock to add an instance of ctlAlarmClock to your form.





没有标签为Projects的标签,也没有列出项目。我做错了什么?



There is no tab labeled "Projects" and there are no projects listed. What am I doing wrong?

推荐答案

是的,我做错了什么,而不是添加一个新项目我开始了一个新项目。关键词是Add。但是,如果您使用VS2013,说明中会有几个错误。从步骤3开始。措辞应该是Windows窗体应用程序而不是Windows应用程序。在步骤4中,它应该是...单击添加,然后选择参考...并单击。这将显示参考管理器对话框,而不是添加参考对话框。在步骤5中,它应该读取...在项目名称下选中复选框并单击确定,而不是双击文件的名称。不需要步骤7。其余说明非常准确。此外,步骤3之前的说明非常准确。
Yes, I did something wrong, instead of adding a new project I started a new project. The key word is Add. However, there are several "errors" in the instructions if you are using VS2013. Starting with step 3. The wording should be Windows Forms Application not Windows Application. In step 4 it should read ...Click Add then select Reference... and click. This will display the Reference Manager dialog box, not the Add Reference dialog box. In step 5 it should read ...under Project Name check the check box and click OK, not double-click the name of the file. Step 7 is not needed. The remainder of the instructions are very accurate. Also the instructions prior to step 3. are very accurate.


这篇关于如何完成msdn演练ref:Composite Control的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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