|
控件名称 |
缩写 |
|
Buttom按钮 |
Btn |
|
CheckBox复选框 |
Chk |
|
ColumnHeader视图列表头 |
Col |
|
ComboBox组合框 |
Cbo |
|
ContextMenu快捷菜单 |
Ctm |
|
DataGrid数据网格控件 |
Dg |
|
DataGridView数据网格视图控件 |
Dgv |
|
DteTimePicker时间输入框 |
Dtp |
|
DomainUpDown数值框 |
Dud |
|
Form窗体 |
Frm |
|
GroupBox 组合框 |
Grp |
|
HscrollBar水平滚动条 |
Hsb |
|
ImageList图标列表 |
Img |
|
Label文本标签 |
Lbl |
|
LinkLabel列表框 |
Lbl |
|
ListBox列表框 |
Lst |
|
ListView视图列表 |
Lvw |
|
Menu菜单 |
Menu |
|
MenuItem菜单项 |
Menu |
|
NumericUpDown数值框 |
Nud |
|
Panel面板 |
Pnl |
|
PictureBox图片框 |
Pic |
|
ProgressBar进度条 |
Prg |
|
RadioButton单选框按钮 |
Rdo |
|
Spliter拆分条 |
Spl |
|
StatusBar状态栏 |
Stu |
|
StatusBarPanel状态栏区域 |
Stupnl |
|
StatusStrip状态栏 |
Stu |
|
TabControl分页控件 |
Tab |
|
TabPage分页标签页面 |
Page |
|
TextBox文本框 |
Txt |
|
Timer定时器 |
Tmr |
|
ToolBar工具条 |
Tbr |
|
ToolStrip工具栏 |
Tsp |
|
TooStripButton工具栏按钮 |
tspBtn |
|
ToolStripComboBox工具栏下拉组合框 |
tspCbo |
|
ToolStripDropDownMenu工具栏菜单项目 |
tspMenu |
|
ToolStripLable工具栏静态文本 |
tspLbl |
|
ToolStripProgressBar工具栏进度条 |
tspPrg |
|
ToolStripTextBox工具栏文本框 |
Tsptxt |
|
TreeView树状视图列表 |
Tvw |
|
VscrollBar垂直滚动条 |
Vsb |
|
WebBrowSer浏览器控件 |
Wb |
标准控件
1
2
3
4
5
6
7
8
9
10 mtx
11 cdr
12 icn
13 nud
14 pic
15 prg
16 rdo
17 rtx
18 txt
19 tip
20 tvw
21 wbs
容器控件
1
2
3
4
5
6
菜单和工具栏
1
2
3
4
5
数据
1
2
3
4
5
对话框
1
2
3
4
5
组件
1
2
3
4
5
6
7
8
9
10 pfc
11 prc
12 spt
13 scl
14 tmr
印刷
1
2
3
4
5
水晶报表
1
2
其他
1
2
3
4
5
6
<!--------------A----------------->
AdRotator ar
<!--------------B----------------->
Button btn
<!--------------C----------------->
Calender cal
CheckBox chk
CheckBoxList chklst
Column (DataGridView的) col
ColumnHeader (ListView 的) ch
Combobox cbo
CompareValidator cv
CrystalReportViewer rptvew
<!--------------D----------------->
DataGrid dg
DataGridView dgv
DataList dl
DomainUpDown dud
DropDownList ddl
<!--------------F----------------->
FileUpload ful
Form frm
<!--------------G----------------->
GridView gv
GroupBox grp
<!--------------H----------------->
HiddenField hf
<!--------------I----------------->
Image img
ImageButton imgbtn
ImageList il
<!--------------L----------------->
Label lbl
LinkButton lnkbtn
ListBox lst
ListView lv
<!--------------M----------------->
MenuStrip ms
<!--------------O----------------->
ObjectDataSource ods
<!--------------P----------------->
PagedDataSource pds
Panel pnl
PictureBox pic
<!--------------R----------------->
RadioButton rdo
RadioButtonList rdolst
RangeValidator rv
RegularExpressionValidator rev
Repeater rpt
RequiredFieldValidator rfv
<!--------------S----------------->
StatusLabel slbl
StatusStrip ss
<!--------------T----------------->
TabControl tab
Table tbl
TabPage tp
TextBox txt
Timer tmr
ToolStrip ts
ToolStripButton tsbtn
ToolStripDropDownButton tsddb
ToolStripLabel tslbl
ToolStripMenuItem tsmi
TreeView tv/tvw
<!--------------V----------------->
ValidatorSummary vs
<!--------------W----------------->
WebBrowser
这篇博客详细列举了C#中各种控件的常用缩写,包括标准控件如btn(Button)、lst(ListBox),容器控件如flp(FlowLayoutPanel),菜单和工具栏如mns(MenuStrip),数据相关控件如dgv(DataGridView),对话框如ofd(OpenFileDialog),组件如bgw(BackgroundWorker),印刷相关如psd(PageSetupDialog),以及水晶报表等。
1864

被折叠的 条评论
为什么被折叠?



