Form Styles
Forms have various styles to choose from
formBorderStyle
- none
- no border
- cannot resize
- no control buttons
|

|
- fixedsingle
- cannot be resized
|

|
- Fixed3D
- Cannot be resized
|

|
- fixedDialog
- cannot be resized
- no controlbox
- can have min and max buttons
-
|

|
- Sizable
- Default setting
-
|

|
- FixedToolWindow
- Cannot be resized
- Only has close box
-
|

|
- SizableToolWindow
- Resizable
- Only close box
|

|
Controlbox
When set to false it removes the close, max and min buttons from the form

true

false
maximizeBox
Boolean value if to display the maximize button

minimizeBox
Boolean value if to display the minimize button

MaximumSize
Limit how big you can resize the form
MinimumSize
Limit how small you can resize a form
Opacity
0-100
the degree of transparency a form has
ex: myForm.opacity=0.3
topmost
if true it keeps the form on the top always
resizing
myForm.width=300
myForm.Height=300
or
myForm.size=new size(300,300)
Anchoring and docking allow controls to adjust when the form resizes
Programmer usually design for 800x600 or 1024x768
You can react to a form changing size
Example
Start a new project
Add a button
Click the form and in the properties window click the lightning bolt to take you to the forms events

Double click to the right of SizeChanged event

Add the following code:
Button1.Width = ClientSize.Width / 2
Click the property button to return your property window back to normal
