PC Review


Reply
Thread Tools Rate Thread

Control Designer that creates child controls

 
 
Jack Jackson
Guest
Posts: n/a
 
      7th Oct 2008
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.
 
Reply With Quote
 
 
 
 
Aflava
Guest
Posts: n/a
 
      9th Oct 2008
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

"Jack Jackson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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.



 
Reply With Quote
 
Jack Jackson
Guest
Posts: n/a
 
      9th Oct 2008
On Thu, 9 Oct 2008 21:58:29 +0200, "Aflava"
<newsgroups{delete-this}@aflava.com> wrote:

>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?
 
Reply With Quote
 
Aflava
Guest
Posts: n/a
 
      10th Oct 2008
Hi,

You should have a look there:
http://windowsclient.net/articles/shapedesigner.aspx


--
Aflava
Windows Forms Components
http://www.aflava.com

"Jack Jackson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Thu, 9 Oct 2008 21:58:29 +0200, "Aflava"
> <newsgroups{delete-this}@aflava.com> wrote:
>
>>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?



 
Reply With Quote
 
Jack Jackson
Guest
Posts: n/a
 
      10th Oct 2008
On Fri, 10 Oct 2008 23:36:36 +0200, "Aflava"
<newsgroups{delete-this}@aflava.com> wrote:

>Hi,
>
>You should have a look there:
>http://windowsclient.net/articles/shapedesigner.aspx


Thank you, that looks very interesting.
 
Reply With Quote
 
Aflava
Guest
Posts: n/a
 
      12th Oct 2008
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


"Jack Jackson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Fri, 10 Oct 2008 23:36:36 +0200, "Aflava"
> <newsgroups{delete-this}@aflava.com> wrote:
>
>>Hi,
>>
>>You should have a look there:
>>http://windowsclient.net/articles/shapedesigner.aspx

>
> Thank you, that looks very interesting.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this.Controls.Add(Control) Does Not Add Control to child collection (this.Controls.Count == 0) Chad Scharf Microsoft ASP .NET 3 18th Oct 2007 04:53 PM
Controls.Add() for a Web User Control doesn't instansiate its child controls Ofer Zelig Microsoft ASP .NET 11 28th Mar 2007 02:15 PM
RE: Controls.Add() for a Web User Control doesn't instansiate its child controls Walter Wang [MSFT] Microsoft ASP .NET 0 28th Mar 2007 03:02 AM
How to avoid a designer creates a Size line for a derived control Mario Vasquez Microsoft Dot NET Framework Forms 6 13th Nov 2006 03:52 PM
Control Designer Infrastructure, User Controls Ralf Heitmann Microsoft Dot NET Compact Framework 3 20th Jun 2005 10:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:31 AM.