HOWTO:制作容器控件? [英] HOWTO: Make a container control?
本文介绍了HOWTO:制作容器控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何制作一个像容器控件一样的控件(除了从面板继承
)?
最好的问候,
Alejandro Lapeyre
解决方案
" Container"有点模糊。如果你在谈论命名容器,他们将使用INamingContainer标记界面创建
...
Patrice
-
" Alejandro Lapeyre" <铝************** @ jotmail.com> écritdansle message
de news:呃************** @ TK2MSFTNGP14.phx.gbl ...怎么能我创建一个控件,就像一个容器控件(除了从面板继承的
)?
最好的问候,
亚历杭德罗·拉佩尔
>
嗯,我的意思是我可以添加子控件的表单控件。喜欢
面板控制。
谢谢。
最好的问候,
Alejandro Lapeyre
" Patrice" <无**** @ nowhere.com> escribióenel mensaje
news:%2 *************** @ TK2MSFTNGP09.phx.gbl ..."容器"有点模糊。如果您正在谈论命名容器,
它们是使用INamingContainer标记界面创建的......
Patrice
- >
亚历杭德罗·拉佩尔 <铝************** @ jotmail.com> écritdansle message
de news:呃************** @ TK2MSFTNGP14.phx.gbl ...如何制作一个控件它就像一个容器控件(除了继承自面板之外)?
最诚挚的问候,
Alejandro Lapeyre
2005年3月30日星期三09:34:23 -0300,Alejandro Lapeyre写道:
嗯,我的意思是一个表单控件,我可以添加子控件。就像
Panel Control。
比你必须创建一个UserControl。
这里 http://visualbasic.about.com/od/usin.../aa082503a .htm 你可以
找一个简短的教程(在VB.NET中)。
hth
-
Claudio Grazioli
http:// www。 grazioli.ch
How can I make a control that acts like a container control (besides from
inheriting from panel) ?
Best Regards,
Alejandro Lapeyre
解决方案
"Container" is a bit vague. If you are talking about naming containers, they
are created by using the INamingContainer marker interface...
Patrice
--
"Alejandro Lapeyre" <Al**************@jotmail.com> a écrit dans le message
de news:er**************@TK2MSFTNGP14.phx.gbl...How can I make a control that acts like a container control (besides from
inheriting from panel) ?
Best Regards,
Alejandro Lapeyre
Well, I mean a Form Control that I can add children Controls to. Like the
Panel Control.
Thanks.
Best Regards,
Alejandro Lapeyre
"Patrice" <no****@nowhere.com> escribió en el mensaje
news:%2***************@TK2MSFTNGP09.phx.gbl..."Container" is a bit vague. If you are talking about naming containers,
they
are created by using the INamingContainer marker interface...
Patrice
--
"Alejandro Lapeyre" <Al**************@jotmail.com> a écrit dans le message
de news:er**************@TK2MSFTNGP14.phx.gbl...How can I make a control that acts like a container control (besides from
inheriting from panel) ?
Best Regards,
Alejandro Lapeyre
On Wed, 30 Mar 2005 09:34:23 -0300, Alejandro Lapeyre wrote:
Well, I mean a Form Control that I can add children Controls to. Like the
Panel Control.
Than you have to create a UserControl.
Here http://visualbasic.about.com/od/usin.../aa082503a.htm you can
find a short tutorial (in VB.NET).
hth
--
Claudio Grazioli
http://www.grazioli.ch
这篇关于HOWTO:制作容器控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文