首页 > 编程 > .NET > 正文

C#控件命名规范

2024-07-10 13:25:26
字体:
来源:转载
供稿:网友
控件名 前缀
Lable lbl
TextBox txt
Button btn
LinkButton lnkbtn
ImageButton imgbtn
ListBox lst
DropDownList ddl
DataGrid dg
DataList dl
CheckBox chk
RadioButton rdo
RadioButtonList rdolst
Image img
Panel pnl
Calender cal
AdRotator ar
MenuStrip ms
ToolStripMenuItem tsmi
PictureBox pic
StatusStrip ss
DataGridView dgv
Table tbl
RequiredFieldValidator rfv
Comparidator cv
Rangidator rv
ReqularExpressionValidator rev
ValidatorSummary vs
CrystalReportViewer rptvew
ComboBox cbo
DataGridView dgv
GroupBox grp
ImageList il
ListView lv
ColumnHeader ch
StatusLable slbl
TabControl tab
TabPage tp
Timer tmr
ToolStrip ts
ToolStripButton tsbtn
ToolStripDropDownButton tsddb
DomainUpDown dud
FileUpload ful
Repeater rpt
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表