Prev Tutorial 7
Tutorial 8
Grouping of GUI
Elements
GOAL: Group
sections of GUI elements as an advantage of organizing the user interface
PREQUISITES:
Tutorials 1 - 7
Creating a
Placeholder
- Drag a
Panel object to the [Design]Window
- Name to “Placeholder”
- BorderStyle to “FixedSingle”
- Currently
your [Design]Window should look
somewhat like the following: (I added a Quit Button but technically you don’t really have too)

Creating a Container
- Inside
the Solution Explorer,
Right-Mouse-Button Click on your Project and Add->> New Item->>User Control
- You
can now add controls and functionality to the User Control form just like you would in your normal [Design]Window form. Once you have added a couple of items, let’s
test out replacing our original Placeholder
with your new User Control.
- You
can look at the following to see how I did my User Control

Replacing the
Placeholder with the User Control
- Navigate
your way to view your code from your main [Design]Window
- Inside
the code, add the following:

§
In the Visual Studio project window, click
- Build
>> Build Solution
- Debug
>> Start to run

Back To Introduction