Multiple Document forms:
1. Set the parent form
set the property ismdicontainer to True
2. Show Subform
A. Creating an object of a subform
B. Setting the parent form of a subform object
mdiparent: Parent Form Object
c. Show Subform Call Show () method
ListView:
1.Items:
Add () method, adding item contents, first column
other columns with Subitems:add (), add child content, correspond to other columns
2.Colmns: Set column header
3.view: Set to detail (Details view) to display column headers
4.LargeImageList: Set Large Icons
5.SmallImageList: Set Small Icons
Enumeration data: A set of descriptive names that correspond to a set of numbers
1. Define a limited set of values that cannot contain methods
2. Constrain the possible values
second, declaring enum type:
access modifier enum enum name
{
name 1=x, name 2=y
}
Note: Each name corresponds to a set of numbers, the default is 0, followed by 1, you can specify a number for each name
Type Conversions
1. Enumeration name converted to integer type
2. The character type is converted to an enumeration type: (enum type) Enum.parse (typeof (enum type), "enumeration by name");
Example: 0415SHANGWUCHOP4, the word fourth chapter inside
Three, PictureBox: Show Pictures
Properties: Image: Set picture
SizeMode: Setting picture mode
Four, form mode:
1. Mode form: ShowDialog () display. The focus cannot be switched to another form as long as the form is displayed
2. Non-modal form: Show () display, each form can switch focus arbitrarily
Five, Timer: timer
Properties:
1.InterVal: Set interval time in milliseconds
2.Enable: Start or stop timer
Event:
trigger once every interval so long
Implementing data updates for Windows programs