Discussion:
Control Designer that creates child controls
(too old to reply)
Jack Jackson
2008-10-07 22:47:56 UTC
Permalink
I would like to create a control designer for a container control that
will create child controls, much like the DataGridView designer adds
and removes Column controls.

Can anyone point me at some resources that show how to do this?

Thanks.
Aflava
2008-10-09 19:58:29 UTC
Permalink
Hi,

This is done by using the IDesignerHost.CreateComponent function.

Google on this function and you will find samples. If you have specific
question, come back here.

Regards,
--
Aflava
Windows Forms Components
http://www.aflava.com
Post by Jack Jackson
I would like to create a control designer for a container control that
will create child controls, much like the DataGridView designer adds
and removes Column controls.
Can anyone point me at some resources that show how to do this?
Thanks.
Jack Jackson
2008-10-09 22:53:33 UTC
Permalink
On Thu, 9 Oct 2008 21:58:29 +0200, "Aflava"
Post by Aflava
Hi,
This is done by using the IDesignerHost.CreateComponent function.
Google on this function and you will find samples. If you have specific
question, come back here.
Regards,
Thank you very much. That should get me started.

Do you know of any examples of designers that maniupulate child
controls, or any books that cover this topic well?
Aflava
2008-10-10 21:36:36 UTC
Permalink
Hi,

You should have a look there:
http://windowsclient.net/articles/shapedesigner.aspx
--
Aflava
Windows Forms Components
http://www.aflava.com
Post by Jack Jackson
On Thu, 9 Oct 2008 21:58:29 +0200, "Aflava"
Post by Aflava
Hi,
This is done by using the IDesignerHost.CreateComponent function.
Google on this function and you will find samples. If you have specific
question, come back here.
Regards,
Thank you very much. That should get me started.
Do you know of any examples of designers that maniupulate child
controls, or any books that cover this topic well?
Jack Jackson
2008-10-10 22:17:28 UTC
Permalink
On Fri, 10 Oct 2008 23:36:36 +0200, "Aflava"
Post by Aflava
Hi,
http://windowsclient.net/articles/shapedesigner.aspx
Thank you, that looks very interesting.
Aflava
2008-10-12 19:09:52 UTC
Permalink
You're welcome. Do not hesitate to ask if you have specific questions.
Design time development can be tricky..
--
Aflava
Windows Forms Components
http://www.aflava.com
Post by Jack Jackson
On Fri, 10 Oct 2008 23:36:36 +0200, "Aflava"
Post by Aflava
Hi,
http://windowsclient.net/articles/shapedesigner.aspx
Thank you, that looks very interesting.
Continue reading on narkive:
Loading...