Solved

GUI application C#

Posted on 2006-11-30
3
266 Views
Last Modified: 2010-04-16
I am creating a GUI program in C#.  If i make a group box which is initially "blank"  then the user is instructed to click the "open" button.  This will then pop up multiple text boxes and a button in that blank group box.  I didn't know if there was like a "sub" menu to do this or what.  If someone could help that would be great on instructing me how to do this.
0
Comment
Question by:jmkotman
3 Comments
 
LVL 18

Expert Comment

by:Ravi Singh
ID: 18047711
Can the number of textboxes and buttons vary at runtime? if they're fixed then you could just add the controls in the groupbox at design time and set their Visible property to False -- then set it to True when the open button is clicked
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 18048486
Or place a Panel inside the GroupBox and set its Dock property to Fill.  Now add your controls to the Panel and set it's Visible property to False.  Then you can make everything UnHide at once by toggle the Panel's Visible property.
0
 
LVL 16

Expert Comment

by:AlexNek
ID: 18048577
When I need different count of text boxes., I use grid like elements.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now