在C#中失去userControls [英] loosing userControls in c#

查看:167
本文介绍了在C#中失去userControls的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我为Windows项目制作了一些用户控件,现在想在Windows窗体中使用它们;但它们不在工具箱中:((未在我的工具箱中添加)

我怎么能在那里看到它们并使用它们.

我的项目:Windows项目. C# . visual studio2008

请帮助我

Hi

I made some user-controls for my windows project and now wanna use them in windows forms ; but they aren''t in toolbox :( (didn''t add in my toolbox)

how i can see them there and use them .

my project : windows project . c# . visual studio2008

pls help me

推荐答案

1.在工具"菜单上,单击选择工具箱项"-或右键单击工具框,然后选择选择项"

2.单击浏览.
将出现打开"对话框.
3.浏览并选择包含要添加到工具箱中的项目的装配.
4.单击确定"/添加"(不确定哪个机器现在不能正常运行).
1.On the Tools menu, click "Choose Toolbox Items"- Or right click the tool box and select "Choose Items"

2.Click Browse.
The Open dialog will appear.
3. Browse and select the assembly containing the items you want to add to the toolbox.
4. click OK / Add (Not sure which as my machine isn''t working too well right now).


:-D好的,当我不关心构建时,这件事必须成为现实对我来说

我的问题不是我的项目,然后此用户控件无法构建并添加到工具箱

解决了
:-D ok , when i dont care about build this things must happaend for me

my problem that dont buld my project then this user-controls cant build and add to toolbox

it''s solved


首先建立您的项目,请用户控制,然后将其添加到toolbox:thumbsup:
first bulid your project , surly your user controls''ll add to toolbox:thumbsup:


这篇关于在C#中失去userControls的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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