Windows用户控件 [英] windows user control
本文介绍了Windows用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好.....
我已经用两个业务类创建了一个Windows用户控件,创建的用户控件是通用的,我想将此用户控件用于其他Windows应用程序或项目.
我在做什么...........
在此先感谢您
Hello.....
I have created one windows user control with two business classes the created user control is generic and i want to use this user control to other windows applications or projects
what i do...........
Thanks in advance
推荐答案
您只需通过自定义工具箱来添加用户控件.
在这里看看:
http://www.startvbdotnet.com/extras/user.asp [
祝你好运!
You simply add the user control by customizing the toolbox.
Have a look here:
http://www.startvbdotnet.com/extras/user.asp[^]
Aside from your initial question... When a user control also implements business logic, there is no actual separation and makes the control look like the "magic pushbutton" pattern. Could be a good idea to separate but it''s up to you.
Good luck!
这篇关于Windows用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文