.NET控件命名规范
控件名称
简写(前缀)
备注
Label
lbl
标签
TextBox
txt
文本框
Button
btn
按钮
LinkButton
lnkbtn
ImageButton
imgbtn
ListBox
lst
列表框
DropDownList
ddl
DataGrid
dg
DataList
dl
CheckBox
chk
CheckBoxList
chklst
RadioButton
rdo
单选按钮
RadioButtonList
rdolst
Image
img
图片
Panel
Pnl-
面板
Calender
cal
AdRotator
ar
Table
tbl
RequireFieldValidator
rfv
CompareValidator
cv
RangeValidator
rv
RegularExpressionValidator
rev
ValidatorSummary
vs
CrystalReportViewer
rptvew
ComboBox
cbo
组合框
DataGridView
dgv
数据网格视图控件
DropDownbutton
下拉按钮
DataGridView 的Column
col
GroupBox
grp
分组框
ImageList
il
图片列表
ListView
lv
列表视图
ListView的ColumnHeader
ch
MenuStrip
ms
菜单条
menuItem
菜单项
ToolStripMenuItem
tsmi
工具条菜单项命名
PictureBox
pic
图片框 image/ sizeMode----Autosize
StatusStrip
ss
状态条
StatusLabel
slbl
状态条标签
TabControl
tab
选项卡 tabpages/multiline/selectedindex
TabPage
tp
Timer
tmr
计时器 enabled—true/interval ---200
ToolStrip
ts
工具条
ToolStripLabel
tslbl
ToolStripDropDownButton
tsddb
DomainUpDown
dud
TreeView
Tv tvw
WebBrowser
wb
ObjectDAtaSource
ods
FileUpload
ful
HiddenField
hf
Grid View
gv
PagedDataSource
pds
Repeater
rpt
ContextMenuStrip
快捷菜单
transparent
透明的
Maxlength
Passwordchar
Readonly
Multiline
按功能列出的