当前位置:网站首页>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
边栏推荐
- [flutter] icons component (fluttericon Download Icon | customize SVG icon to generate TTF font file | use the downloaded TTF icon file)
- Matlab Doppler effect produces vibration signal and processing
- Arduino DY-SV17F自动语音播报
- Trois tâches principales: asynchrone, courrier et timing
- Matlab finds the position of a row or column in the matrix
- Leetcode 2097 - Legal rearrangement of pairs
- Telephone network problems
- 异步、邮件、定时三大任务
- MySQL - database query - basic query
- Dotconnect for PostgreSQL data provider
猜你喜欢
Leetcode 6103 - minimum fraction to delete an edge from the tree
C#应用程序界面开发基础——窗体控制(2)——MDI窗体
MySQL - database query - condition query
一位苦逼程序员的找工作经历
[androd] module dependency replacement of gradle's usage skills
[Androd] Gradle 使用技巧之模块依赖替换
给你一个可能存在 重复 元素值的数组 numbers ,它原来是一个升序排列的数组,并按上述情形进行了一次旋转。请返回旋转数组的最小元素。【剑指Offer】
Cut point of undirected graph
Top ten regular spot trading platforms 2022
【FH-GFSK】FH-GFSK信号分析与盲解调研究
随机推荐
Machine learning terminology
[day 29] given an integer, please find its factor number
Dotconnect for PostgreSQL data provider
Leetcode 2097 - Legal rearrangement of pairs
Expérience de recherche d'emploi d'un programmeur difficile
The industrial scope of industrial Internet is large enough. The era of consumer Internet is only a limited existence in the Internet industry
Cut point of undirected graph
[androd] module dependency replacement of gradle's usage skills
Find a benchmark comrade in arms | a million level real-time data platform, which can be used for free for life
[flutter] icons component (fluttericon Download Icon | customize SVG icon to generate TTF font file | use the downloaded TTF icon file)
Kivy教程大全之如何在 Kivy 中创建下拉列表
对非ts/js文件模块进行类型扩充
MySQL foundation 04 MySQL architecture
Leetcode 6103 - minimum fraction to delete an edge from the tree
Kivy tutorial how to create drop-down lists in Kivy
Database SQL language 01 where condition
力扣 204. 计数质数
按鍵精靈打怪學習-多線程後臺坐標識別
2022 cable crane driver examination registration and cable crane driver certificate examination
Key wizard play strange learning - front desk and Intranet send background verification code