当前位置:网站首页>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
边栏推荐
- MySQL basic usage 02
- 产业互联网的产业范畴足够大 消费互联网时代仅是一个局限在互联网行业的存在
- Do not log in or log in to solve the problem that the Oracle database account is locked.
- Matlab Doppler effect produces vibration signal and processing
- kivy教程之在 Kivy App 中使用 matplotlib 的示例
- [system analyst's road] Chapter V double disk software engineering (development model development method)
- d,ldc構建共享庫
- MySQL basics 03 introduction to MySQL types
- Cut point of undirected graph
- How wide does the dual inline for bread board need?
猜你喜欢
Meituan dynamic thread pool practice ideas, open source
wirehark数据分析与取证A.pacapng
1696C. Fishingprince plays with array [thinking questions + intermediate state + optimized storage]
Soft exam information system project manager_ Real topic over the years_ Wrong question set in the second half of 2019_ Morning comprehensive knowledge question - Senior Information System Project Man
[FPGA tutorial case 6] design and implementation of dual port RAM based on vivado core
Find a benchmark comrade in arms | a million level real-time data platform, which can be used for free for life
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
【我的OpenGL学习进阶之旅】关于欧拉角、旋转顺序、旋转矩阵、四元数等知识的整理
强化学习 Q-learning 实例详解
How is the mask effect achieved in the LPL ban/pick selection stage?
随机推荐
Embrace the safety concept of platform delivery
产业互联网的产业范畴足够大 消费互联网时代仅是一个局限在互联网行业的存在
leetcode 2097 — 合法重新排列数对
C#应用程序界面开发基础——窗体控制(2)——MDI窗体
Do not log in or log in to solve the problem that the Oracle database account is locked.
MySQL --- 数据库查询 - 基本查询
Detailed explanation of Q-learning examples of reinforcement learning
How wide does the dual inline for bread board need?
Daily topic: movement of haystack
Key wizard play strange learning - multithreaded background coordinate recognition
R language generalized linear model function GLM, (model fit and expression diagnostics), model adequacy evaluation method, use plot function and car package function
LDC Build Shared Library
异步、郵件、定時三大任務
不登陆或者登录解决oracle数据库账号被锁定。
Trois tâches principales: asynchrone, courrier et timing
【系统分析师之路】第五章 复盘软件工程(开发模型开发方法)
[自我管理]时间、精力与习惯管理
测试右移:线上质量监控 ELK 实战
强化学习 Q-learning 实例详解
什么是调。调的故事