1. Controls ()
When using Windows forms, you are using the System.Windows.Forms namespace
Most controls are derived from the System.Windows.Forms.Control class
1.1 Control Properties
How to respond when the container size of the Anchor control changes
Enable whether to receive user input
1.2 Positioning, docking, and alignment of controls
1.3 Events
3 Basic ways of handling events
<1> Double-click Controls
<2>properties window in the Events list, click the lightning bolt icon to display the events list
Double-click the event in the events list to
<3> Add code to subscribe to the event
2.Button controls
System.Windows.Forms.ButtonBase derived from the control class to implement the basic functionality required by the button control
3 controls derived from Buttonbase:<1>button <2>checkbox <3>radiobutton
2.1 The properties of the button control
FlatStyle popup appears as a plane until the mouse is moved up to display as 3D
3.Label and Linklable controls
Label Purpose: Display text on a form
Label standard Windows tab, linklable displayed as Internet link
4.TextBox controls
Purpose: User input text
The. Net Framework contains two basic controls to extract user input text: <1>textbox <2>richtextbox
A bit more, self-check
5. RadioButton and checkbox
RadioButton: Property checked Indicates whether the control state is selected
Event checkedchanged check OPTION changed trigger