首页 > 代码库 > 个人控件/对象命名规范(慢慢更新)
个人控件/对象命名规范(慢慢更新)
<style></style>
自己收集自网络,转载本文请保留来源(否则以后我这边更新了,不写转载来源的坑爹了)
控件类型 | 前缀 |
Button | btn |
CheckBox | chk |
CheckedListBox | lst |
ComboBox | cmb |
CommandButton | cmd |
ContextMenu | mnu |
Control | ctl |
DataGrid | dg |
DateTimePicker | dtp |
DropDownList | ddl |
Form | frm |
FormSet | frs |
Grid | grd |
GridView | gv |
GroupBox | grp |
Hyperlink | lnk |
Image | img |
ImageButton | iBtn |
ImageList | iml |
Label | lbl |
ListBox | lst |
ListView | lvw |
Menu | mnu |
MenuItem | mnu |
NotificationIcon | nfy |
Panel | pnl |
PictureBox | pct |
ProgressBar | prg |
RadioButton | rad |
Splitter | spl |
StatusBar | sts |
TabControl | tab |
TabPage | tab |
TextBox | txt |
Timer | tmr |
TreeView | tvw |
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
个人控件/对象命名规范(慢慢更新)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。