如何进行用户控制 [英] how to Make User Control

查看:104
本文介绍了如何进行用户控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我想为我的C#应用​​程序设置一个用户控件.
在我的用户控件中,我要添加 4个标签 4个文本框,4个按钮和一个数据网格视图.
如果可以的话,是否可能,然后请给出示例,以便我可以创建我的用户控件.我没有关于用户控件的更多详细信息.

hello
i want make one user Control for My C# application.
in my User Control i Want to Add 4 label ,4 text box,4 button and one Data Grid View.
is that possible if yes then Please give Some Example For That So I Can Create my User Control.i have no more Detail About User Control

推荐答案

假定其ASP.Net ,以下一些链接可能会有所帮助:
http://msdn.microsoft.com/en-us/library/26db8ysc%28v = vs.85%29.aspx [ ^ ]
http://www.dotnetspider.com/forum/41248-How- create-user-control-ASP-Net.aspx [ ^ ]
http://www.akadia.com/services/dotnet_user_controls.html [ http://www.codersource.net/asp-net/asp-net-advanced/creating-user-controls-in-asp-net.aspx [ http://www.asp.net/general/videos/how-do-i-create-a-custom-user-control-in-aspnet [
Assuming its ASP.Net, here are some links that may help:
http://msdn.microsoft.com/en-us/library/26db8ysc%28v=vs.85%29.aspx[^]
http://www.dotnetspider.com/forum/41248-How-create-user-control-ASP-Net.aspx[^]
http://www.akadia.com/services/dotnet_user_controls.html[^]
http://www.codersource.net/asp-net/asp-net-advanced/creating-user-controls-in-asp-net.aspx[^]
http://www.asp.net/general/videos/how-do-i-create-a-custom-user-control-in-aspnet[^]


检查以下链接
1.
UC1
2. UC2
3. UC3

希望这些对您有帮助.
check the link belows
1. UC1
2. UC2
3. UC3

Hope these will help you.


这篇关于如何进行用户控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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