Use Section A Video to design a Visual Basic project -Chapter2A to include a groupbox, panel and a TableLayoutPanel.
The title of the form should be : Your name + Your classmate's name
You should include a label to have your name and your classmate's name
Steps for the assignmetns
Create a project name it “Chapter2A”
Drag a label to the form , change the text property to “Your name
Drag 3 controls from the Containers to the form
The GroupBox control is similar to the Panel control; however, only the GroupBox control displays a caption, and only the Panel control can have scroll bars.
Windows Forms Panel controls are used to provide an identifiable grouping for other controls. Typically, you use panels to subdivide a form by function. The Panel control is similar to the GroupBox control; however, only the Panel control can have scroll bars, and only the GroupBox control displays a caption.
This project includes the following three types of Containers:
Groupbox
Drag a group box to the form
Drag two labels , and two textbox to the group box
The controls on the group box will be treated as one unit
Panel
Drag a panel to the form
Drag 3 buttons to the panel
Set the AutoScroll property to true
TableLayoutPanel Control
The TableLayoutPanel control can expand to accommodate new controls when they are added, depending on the value of the RowCount, ColumnCount, and GrowStyle properties. Setting either the RowCount or ColumnCount property to a value of 0 specifies that the TableLayoutPanel will be unbound in the corresponding direction.
Drag a TableLayoutPanel to the form
Add a row
Edit the row and column
Open the Column and row styles window box
Make all three rows the same size
Drag a label to the one cell
Use the anchor property to make the label set in the center
Add 3 more controls
Set the CellBoarderStyle property to : inset
Build the program , locate the
Submit : Chapter2A.exe, Chapter2A.zip