首页 > 代码库 > 个人控件/对象命名规范(慢慢更新)

个人控件/对象命名规范(慢慢更新)

<style></style>

自己收集自网络,转载本文请保留来源(否则以后我这边更新了,不写转载来源的坑爹了)

控件类型前缀
Buttonbtn
CheckBoxchk
CheckedListBoxlst
ComboBoxcmb
CommandButtoncmd
ContextMenumnu
Controlctl
DataGriddg
DateTimePickerdtp
DropDownListddl
Formfrm
FormSetfrs
Gridgrd
GridViewgv
GroupBoxgrp
Hyperlinklnk
Imageimg
ImageButtoniBtn
ImageListiml
Labellbl
ListBoxlst
ListViewlvw
Menumnu
MenuItemmnu
NotificationIconnfy
Panelpnl
PictureBoxpct
ProgressBarprg
RadioButtonrad
Splitterspl
StatusBarsts
TabControltab
TabPagetab
TextBoxtxt
Timertmr
TreeViewtvw

http://msdn.microsoft.com/en-us/library/aa979151(v=vs.71).aspx
http://en.wikibooks.org/wiki/C_Sharp_Programming/Naming
http://www.surfingsuccess.com/asp/net-vb-c-control-naming-conventions.html
https://support.microsoft.com/kb/173738?wa=wsignin1.0
http://www.cnblogs.com/flydoos/archive/2011/08/29/2158903.html
http://cybarlab.blogspot.com/2013/02/standard-naming-convention-for-aspnet.html

个人控件/对象命名规范(慢慢更新)