0% found this document useful (0 votes)
17 views

C# Chapter 5

The document discusses container controls in Visual C#, specifically the TabControl and Panel. The TabControl allows having multiple screens of content separated into tabs on a single form. A Panel serves as a simple container control to help better organize other controls on forms. Container controls can host other controls and the container is the parent while contained controls are children.

Uploaded by

Salman Sead
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

C# Chapter 5

The document discusses container controls in Visual C#, specifically the TabControl and Panel. The TabControl allows having multiple screens of content separated into tabs on a single form. A Panel serves as a simple container control to help better organize other controls on forms. Container controls can host other controls and the container is the parent while contained controls are children.

Uploaded by

Salman Sead
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Visual C#

Chapter 5

Reporting
Container Controls
 Container controls, as their name
implies, are controls that can host
other controls inside them. The
Form is the perfect example here, as
you put all your controls on the form.
 The host is known as the parent, and
the controls inside the host are
known as the children.
Standard Container Controls
TabControl
 The TabControl is very versatile. It allows for the
capability to have multiple little screens of
content, all separated into tabs.
 This means that instead of separating content into
different forms, you could have one TabControl
on one form, with all the desired information.
TabControl
Panel
 A Panel is the perfect container
control. Why? Well, because of its
simplicity and ease of use.
 The Panel not only serves as a
container control, its main purpose is
to help organize your controls on your
forms better.
Thank you

You might also like