当前位置:网站首页>C knowledge point form summary 2
C knowledge point form summary 2
2022-07-01 11:45:00 【dengfengling999】
Window forms
characteristic :
* User interface objects ( visualization )
* Message cycle input
* Resource sharing
* Graphic output
* Event driven programs ( enter one user name 、 password )

Form name with frm start
Lable Control is used to output text display information , Name with lbl start
Textbox: Enter... In the text box Name with txt Opening words
Button: Button Name with btn start
PictureBox: Control for putting pictures hold SizeMode Change it to StretchImage
Function realization :
MessageBox.Show(“”) Prompt box
MessageBox.Show(“ Perform the login function ”)
MessageBox.Show(“ Perform the login function ”,“ Tips ”)
MessageBox.Show(“ Perform the login function ”,“ Tips ”,“MessageBoxButton.OKcancel”)
MessageBox.Show(“ Line login function ”,“ Tips ”,MessageBoxButton.OK,MessageBoxIcon.Warning);
Application.Exit(); Execute exit
Textbox Control password input is not displayed hold PasswordChar write * Number
Press enter to log in : Set properties on the login page AcceptionButton Property is set to the login name








GroupBox Control is often used to logically combine a group of controls Containers Panel Control : Also used to partition
TabControl Control : Multiple tabs 、 Multi partition control attribute TabPages You can add multiple members
RadioButton: Radio controls use rbtn start
RadioButton attribute :
- Text: The text displayed on the control
- Checked: You can read or set this property to read or modify RadioButton Selected state
CheckBox: Multi select control
- Properties and events :
- Text attribute
- Checked attribute
- CheckedChanged event
ComboBox Control : The user selects the options enumerated by the control Items Edit item Dropdown options
NumericUpDown Control : Numeric selection control (NumericUpDown Control ) Is a control for displaying and entering values . The control provides a pair of up and down arrows , The user can click the up and down arrows to select the value , You can also type
ListBox Control : The list control is used to display a list , The user can select one or more . If the total number of options exceeds the number of items that can be displayed , The control will automatically add a scroll bar
Tablcontrol Control : Paging options
Menu bar control :MenuStrip With mus Name at the beginning
The project name is marked with tsm start The items in the project are marked with tsmi Name at the beginning
Toolbar controls :ToolStrip Item display picture and text change properties DisplayStyle, The toolbar : With tst start
Status bar control :StatusStrip, status bar : With tss Name the beginning


Context menus also become pop-up menus 、 Right-click menu 、 Shortcut menu ContextMenuStrip
Shortcut menus can be linked to forms Controls , Need to set up ContextMenuStrip attribute
The toolbar : With tst start


status bar : With tss Name the beginning

TreeView Tree control : Show node hierarchy
DateGridView Display data control , Display data in tabular form
边栏推荐
- redis中value/SortedSet
- 二叉堆(一) - 原理与C实现
- Binary stack (I) - principle and C implementation
- 小米手机解BL锁教程
- redis中value/list
- Why must we move from Devops to bizdevops?
- How to realize the four isolation levels of MySQL (brief)
- Abbirb120 industrial robot mechanical zero position
- 2022/6/29学习总结
- Learning summary on June 30, 2022
猜你喜欢

Acly and metabolic diseases

Matrix of numpy

Shangtang entered the lifting period: the core management voluntarily banned and strengthened the company's long-term value confidence

Learning summary on June 29, 2022

Unittest框架中跳过要执行的测试用例

ABBIRB120工业机器人机械零点位置

Emotion analysis based on IMDB comment data set

Redis configuration environment variables

Why must we move from Devops to bizdevops?

Explore the contour detection function findcontours() of OpenCV in detail with practical examples, and thoroughly understand the real role and meaning of each parameter and mode
随机推荐
Goldfish rhca memoirs: do447 uses ansible to communicate with API -- using ansible tower API to start jobs
索引失效的几种情况
Comment Nike a - t - il dominé la première place toute l'année? Voici les derniers résultats financiers.
用于分类任务的数据集划分脚本
Tempest HDMI leak reception 4
ES6 Promise用法小结
微信小程序开发 – 用户授权登陆「建议收藏」
CPU 上下文切换的机制和类型 (CPU Context Switch)
二叉堆(一) - 原理与C实现
Tianrunyun, invested by Tian Suning, was listed: its market value was 2.2 billion Hong Kong, and its first year profit decreased by 75%
Redis common sense
Skip the test cases to be executed in the unittest framework
epoll介绍
JS日期格式化转换方法
Vscode shortcut key (the most complete) [easy to understand]
redis中value/SortedSet
Question: what professional qualities should test engineers have?
博途V15添加GSD文件
Deep understanding of grpc part1
Redis' attack tactics