当前位置:网站首页>C application interface development foundation - form control (4) - selection control
C application interface development foundation - form control (4) - selection control
2022-07-03 01:27:00 【DXB2021】
Select class control
The selection class control has a drop-down combo box (ComboBox) Control 、 Check box (CheckBox) Control 、 Radio button (RadioButton) Control 、 Value selection (NumreicUpDown) Controls and lists (ListBox) Control .
1、 Drop down combo box control
The drop-down combo box control is called the drop-down combo box control , By System.Windows.Forms.ComboBox Class provides the , The main function is to display a set of data to the user in the form of combo box , When the user clicks, the following pull box will be displayed to the user for the user to select one from .
1、 Create a drop box and add content
2、 Check all the text of the editable part in the drop-down combo box
2、 Check box control
Check box control , Allows the user to select and clear association options . Unlike radio buttons , Check boxes, whether in the same container or in different containers , Multiple choices are allowed .
Judge the check box
Realization CheckBox Control
3、 Radio button controls
Radio button controls , When paired with other radio buttons , Allows the user to select a single option from a set of options . in other words , When there are more than two radio buttons in the same container , Only one can be selected . But several groups of radio buttons not in the same container are not associated with each other , There can be more than one selected .
Use RadioButton Control completes a choice question .
4、 Numeric selection control
Numerical selection control is also called numerical selection control , Is a control for displaying and entering values , Control provides a pair of up and down arrows , The main function is to increase or decrease a number by a certain value . It mainly has four common attributes :
(1)Increment Property indicates the amount of increase or decrease each time the button is clicked .
(2)Maximum Attribute represents the maximum value .
(3)Minumum Attribute represents the minimum value .
(4)Value Property represents the current value .
5、 List control
List control is also called list box , It displays a list of items for the user to select . In the list box , Users can choose one at a time , You can also choose multiple .
1、 stay ListBox Control
2、 Select multiple items in the list box
边栏推荐
- Work experience of a hard pressed programmer
- 按键精灵打怪学习-回城买药加血
- 信息熵的基础
- Basic remote connection tool xshell
- 一比特苦逼程序員的找工作經曆
- [shutter] animation animation (shutter animation type | the core class of shutter animation)
- Create your first Kivy program Hello word (tutorial includes source code)
- Leetcode 2097 - Legal rearrangement of pairs
- 【C语言】指针与数组笔试题详解
- Tp6 fast installation uses mongodb to add, delete, modify and check
猜你喜欢

软考信息系统项目管理师_历年真题_2019下半年错题集_上午综合知识题---软考高级之信息系统项目管理师053

leetcode 6103 — 从树中删除边的最小分数

Leetcode 6103 - minimum fraction to delete an edge from the tree

Assets, vulnerabilities, threats and events of the four elements of safe operation

Androd gradle's substitution of its use module dependency

Draw love with go+ to express love to her beloved

C#应用程序界面开发基础——窗体控制(3)——文件类控件

MySQL basics 03 introduction to MySQL types

Embrace the safety concept of platform delivery

攻克哈希的基本概念与实现
随机推荐
dotConnect for PostgreSQL数据提供程序
leetcode:701. Insertion in binary search tree [BST insertion]
LDC Build Shared Library
[androd] module dependency replacement of gradle's usage skills
uniapp组件-uni-notice-bar通告栏
[untitled]
Excel if formula determines whether the two columns are the same
一比特苦逼程序員的找工作經曆
1696C. Fishingprince plays with array [thinking questions + intermediate state + optimized storage]
Using tensorboard to visualize the model, data and training process
Now that the teenager has returned, the world's fireworks are the most soothing and ordinary people return to work~
The meaning of wildcard, patsubst and notdir in makefile
Meibeer company is called "Manhattan Project", and its product name is related to the atomic bomb, which has caused dissatisfaction among Japanese netizens
异步、郵件、定時三大任務
关于Fibonacci数列
MySQL - database query - condition query
Merge K sorted linked lists
C#应用程序界面开发基础——窗体控制(1)——Form窗体
数学知识:能被整除的数—容斥原理
Tp6 fast installation uses mongodb to add, delete, modify and check