Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / March 2005

Tip: Looking for answers? Try searching our database.

Programatically load User Control in Design Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Franck Diastein - 15 Mar 2005 10:17 GMT
Hi,

I have made a component with a properties windows (using
ControlDesigner...) for WinForms.

I would like to be able to load Textbox from my components properties
window...

Have been googling for it with no result...

Any help ?

TIA
joeycalisay - 15 Mar 2005 11:49 GMT
problem is kind of vague especially the relation with the subject, please
clarify first.

Signature

Joey Calisay
http://spaces.msn.com/members/joeycalisay/

> Hi,
>
[quoted text clipped - 9 lines]
>
> TIA
Franck Diastein - 15 Mar 2005 14:59 GMT
It's very easy.

My User Control's properties can be modified throug a WinForm launched
by a verb, using Control Designer ...

I put my User Control in a WinForm (frmApp), I edit properties of my UC
from a WinForm(frmProps), and I would like to add TextBoxes to frmApp
from frmProps...

It's aka adding TextBoxes to a WinForm from the Images Collection Editor
Form of an ImageList...

Do you understand now ?

> problem is kind of vague especially the relation with the subject, please
> clarify first.
joeycalisay - 16 Mar 2005 01:45 GMT
Partly.  Maybe this will help:

Have you tried to look at the TabControl?  When you add TabPages from its
TabPages Collection property, the TabPage instance are available on the
design surface for you to interact with.  It is instantiated on the form
level and added to the Controls Collection of the TabControl instance.  If
this is what you want, you can look at designer classes particularly the
method IDesignerHost.CreateComponent().  You can search for a number of
examples on this newsgroup, this article might help:

http://windowsforms.net/articles/shapedesigner.aspx

Signature

Joey Calisay
http://spaces.msn.com/members/joeycalisay/

> It's very easy.
>
[quoted text clipped - 12 lines]
> > problem is kind of vague especially the relation with the subject, please
> > clarify first.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.