当前位置:网站首页>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
边栏推荐
- S7-1500plc simulation
- Tempest HDMI leak receive 5
- Value/set in redis
- Is it safe for Huatai Securities to open an account online?
- 241. Design priority for operational expressions: DFS application questions
- Learning summary on June 30, 2022
- solo 可以通过 IPV6 访问吗?
- CPU 上下文切换的机制和类型 (CPU Context Switch)
- Flip the array gracefully
- Neo4j 中文开发者月刊 - 202206期
猜你喜欢

Wonderful! MarkBERT

ACLY与代谢性疾病

深入理解 grpc part1

redis配置环境变量

用实际例子详细探究OpenCV的轮廓检测函数findContours(),彻底搞清每个参数、每种模式的真正作用与含义

Exposure: a white box photo post processing framework reading notes

Jd.com renewed its cooperation with Tencent: issuing class A shares to Tencent with a maximum value of US $220million

TEMPEST HDMI泄漏接收 3

Skip the test cases to be executed in the unittest framework

博途V15添加GSD文件
随机推荐
MySQL in and not in() empty list error
证券账户销户后果 开户安全吗
TEMPEST HDMI泄漏接收 4
ACLY与代谢性疾病
No statements may be issued when any streaming result sets are open and in use on a given connection
Test case writing specification in unittest framework and how to run test cases
ABBIRB120工业机器人机械零点位置
树莓派4B安装tensorflow2.0[通俗易懂]
8款最佳实践,保护你的 IaC 安全!
Value/list in redis
Kafuka learning path (I) Kafuka installation and simple use
redis中value/SortedSet
Tianrunyun, invested by Tian Suning, was listed: its market value was 2.2 billion Hong Kong, and its first year profit decreased by 75%
我在中山,到哪里开户比较好?实际上网上开户安全么?
今天开户今天能买股票吗?在线开户是很安全么?
Software project management 9.2 Software project configuration management process
Redis的攻击手法
印象深刻的bug汇总(持续更新)
CPI tutorial - asynchronous interface creation and use
Activity workflow engine