当前位置:网站首页>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
边栏推荐
- Test shift right: Elk practice of online quality monitoring
- 【FPGA教程案例6】基于vivado核的双口RAM设计与实现
- leetcode 6103 — 从树中删除边的最小分数
- 按鍵精靈打怪學習-多線程後臺坐標識別
- [androd] module dependency replacement of gradle's usage skills
- 【第29天】给定一个整数,请你求出它的因子数
- Druid database connection pool
- ThinkPHP+Redis实现简单抽奖
- SwiftUI 组件大全之使用 SceneKit 和 SwiftUI 构建交互式 3D 饼图(教程含源码)
- 【FPGA教程案例5】基于vivado核的ROM设计与实现
猜你喜欢
Basic concept and implementation of overcoming hash
Basic remote connection tool xshell
Machine learning terminology
[fh-gfsk] fh-gfsk signal analysis and blind demodulation research
Basis of information entropy
[androd] module dependency replacement of gradle's usage skills
异步、郵件、定時三大任務
leetcode 6103 — 从树中删除边的最小分数
Leetcode 6103 - minimum fraction to delete an edge from the tree
Leetcode 2097 - Legal rearrangement of pairs
随机推荐
MySQL foundation 06 DDL
Esp32 simple speed message test of ros2 (limit frequency)
[androd] module dependency replacement of gradle's usage skills
Kivy教程大全之如何在 Kivy 中创建下拉列表
d,ldc構建共享庫
wirehark数据分析与取证A.pacapng
tp6快速安装使用MongoDB实现增删改查
基本远程连接工具Xshell
【我的OpenGL学习进阶之旅】关于欧拉角、旋转顺序、旋转矩阵、四元数等知识的整理
[day 29] given an integer, please find its factor number
What are the trading forms of spot gold and what are the profitable advantages?
Daily topic: movement of haystack
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
How wide does the dual inline for bread board need?
d. LDC build shared library
MySQL - database query - basic query
Assets, vulnerabilities, threats and events of the four elements of safe operation
Canvas drawing -- bingdd
[system analyst's road] Chapter V double disk software engineering (development model development method)
12_ Implementation of rolling automatic video playback effect of wechat video number of wechat applet