当前位置:网站首页>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
边栏推荐
- Basic remote connection tool xshell
- Test shift right: Elk practice of online quality monitoring
- C#应用程序界面开发基础——窗体控制(4)——选择类控件
- 1696C. Fishingprince Plays With Array【思维题 + 中间状态 + 优化存储】
- 什么是调。调的故事
- JS inheritance and prototype chain
- Kivy教程大全之如何在 Kivy 中创建下拉列表
- What are the trading forms of spot gold and what are the profitable advantages?
- 力扣 204. 计数质数
- [shutter] animation animation (the core class of shutter animation | animation | curvedanimation | animationcontroller | tween)
猜你喜欢

leetcode 6103 — 从树中删除边的最小分数
![[androd] module dependency replacement of gradle's usage skills](/img/5f/968db696932f155a8c4a45f67135ac.png)
[androd] module dependency replacement of gradle's usage skills

Leetcode 2097 - Legal rearrangement of pairs

C#应用程序界面开发基础——窗体控制(2)——MDI窗体
![[fh-gfsk] fh-gfsk signal analysis and blind demodulation research](/img/8a/8ca80f51a03341c982d52980c54b01.png)
[fh-gfsk] fh-gfsk signal analysis and blind demodulation research

【C语言】指针与数组笔试题详解

12_ Implementation of rolling automatic video playback effect of wechat video number of wechat applet

攻克哈希的基本概念与实现

机器学习术语

Dotconnect for PostgreSQL data provider
随机推荐
[my advanced journey of OpenGL learning] collation of Euler angle, rotation order, rotation matrix, quaternion and other knowledge
[androd] module dependency replacement of gradle's usage skills
Leetcode 2097 - Legal rearrangement of pairs
R language ggplot2 visual faceting, visual facet_wrap bar plot, using strip Text function customize the size of the strip of each facet title in the facet graph (cutimi
异步、邮件、定时三大任务
The meaning of wildcard, patsubst and notdir in makefile
[Arduino experiment 17 L298N motor drive module]
对非ts/js文件模块进行类型扩充
Meibeer company is called "Manhattan Project", and its product name is related to the atomic bomb, which has caused dissatisfaction among Japanese netizens
数学知识:台阶-Nim游戏—博弈论
The R language uses the ctree function in the party package to build conditional inference decision trees, uses the plot function to visualize the trained conditional inference decision tree, and the
Esp32 simple speed message test of ros2 (limit frequency)
Type expansion of non ts/js file modules
【面试题】1369- 什么时候不能使用箭头函数?
leetcode 6103 — 从树中删除边的最小分数
R language ggplot2 visualization: use ggplot2 to display dataframe data that are all classified variables in the form of thermal diagram, and customize the legend color legend of factor
Compare version number
【C语言】指针与数组笔试题详解
2022 Jiangxi Provincial Safety Officer B certificate reexamination examination and Jiangxi Provincial Safety Officer B certificate simulation examination question bank
Cut point of undirected graph