Solved

GUI application C#

Posted on 2006-11-30
3
265 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem to adjust sheet 1 81
powerN  challenge 3 47
creating threads in delphi 1 54
C# code editing and collaboration 3 47
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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

757 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

21 Experts available now in Live!

Get 1:1 Help Now