How to use the ComboBox control:
//first write the query method, instantiate the object,nationdata nd =NewNationdata (); List<Nation> NN =NewList<nation>(); NN=nd. Selectnation (); nation. DataSource= NN;//Select a table to display in the drop-down menuNation. DisplayMember ="Nationname";//columns displayed in the drop-down menuNation. ValueMember ="Nationcode";//the columns to hideNation.nation.SelectedValue;//gets the value of the NationcodeNation. SelectedText;//gets the value of the Nationname
Label:
Textbox:
CheckBox: Check;
Button:
RadioButton: Radio;
Panel: In a container; with RadioButton;
The use of the method is very simple do not write;
NotifyIcon: After inserting the icon file, the taskbar appears in the lower right corner;
Datetamepicker: Perpetual calendar;
NUMBERICUPDOWM: Counter;
MaskedTextBox: Mask; You can set multiple types of formats;
The above is a few common common controls, the right property is roughly the same, and the form is inherited from control;
Several common controls common to C # Winfrom