Application layout design

Giugio82

New member
Joined
Nov 14, 2010
Messages
1
Programming Experience
Beginner
Hi all,

I'm new to the forum and have a question abouthow to implement a classic layout design in vb.net (2.0).

The application design is the classical toolbar panel at the top and different panels stacked at the bottom. Depending on the button pressed at the top in the toolbar panel a different panel at the bottom will be available.

This is thought to have different part of the software available on different panel but with the toolbar panel always available at the top.

To implement this I thought:

1) one tablelayout with 2 rows. First row contain a panel with the button (toolbar panel) and adding/removing hte correct panel requested on the bottom row.

What do you think?
 
It depends exactly what you mean by a "toolbar". You could just add a ToolStrip to the form and add buttons to it to represent the "pages". With a small amount of effort you can get the ToolStripButtons to behave like RadioButtons. As for the "pages" themselves, you could use multiple Panels and simply Hide and Show or call BringToFront to have just one visible at a time.

If having all the Panels on the form at the same time leads to performance issues then you could use UserControls instead. You would design each one separately and then create and destroy as required.
 
Have you tried the classic TabControl ?
 
Back
Top