一、基本数据类型前缀

数据类型    数据类型简写
Array    arr
Boolean    bln
Byte    byt
Char    chr
DateTime    dtm
Decimal    dec
Double    dbl
Integer    int
Long    lng
Object    obj
Short    shr
Single    sng
String    str

二、ADO.NET对象前缀

控件类型    控件类型简写
Command    cmd
Connection    conn
DataAdapter    da
DataColumn    dcol
DataReader    dr
DataRelation    Drel
DataRow    drow
DataSet    ds
DataTable    tbl
DataView    dv
Parameter    parm

三、WinForm Control 命名规范

控件类型    控件类型简写
BackgroundWorker    bgw
BindingNavigator    bdn
BindingSource    bds
Button    btn
CheckBox    chk
CheckedListBox    clst
ColorDialog    cdlg
ComboBox    cbo
ContextMenuStrip    cms
CrystalReportViewer    crv
DataGrid    dgrd
DataGridView    dgv
DataSet    dts
DateTimePicker    dtp
DirectoryEntry    dre
DirectorySearcher    drs
DomainUpDown    dud
ErrorProvider    err
EventLog    evl
FileSystemWatcher    fsw
FlowLayoutPanel    flp
FolderBrowserDialog    fbdlg
FontDialog    fdlg
Form frm
GroupBox    grp
HelpProvider    hlp
HscrollBar    hsb
ImageList    ilst
Label    lbl
LinkLabel    llbl
ListBox    lst
ListView    lvw
MainMenu    mmnu
MaskedTextBox    mtx
MenuStrip    ms
MessageQueue    msq
MonthCalendar    cdr
NotifyIcon    icn
NumeircUpDown    nud
OpenFileDialog    ofdlg
PageSetupDialog    psdlg
Panel    pnl
PerformanceCounter    pfc
PictureBox    pic
PrintDialog    pdlg
PrintDocument    pdc
PrintPreviewControl    prv
PrintPreviewDialog    ppd
Process    prc
ProgressBar    pgb
PropertyGrid    prg
RadioButton    rbtn
ReportDocument    rpd
ReportViewer    rpv
RichTextBox    rtx
SaveFileDialog    sfdlg
SerialPort     spt
ServiceController    scl
SplitContainer    spc
Splitter    spl
StatusBar    stb
StatusStrip    ss
TabControl    tab
TableLayoutPanel    tlp
TextBox    txt
Timer    tmr
ToolBar    tlb
ToolStrip    ts
ToolStripButton    tsbtn
ToolStripContainer    tsc
ToolStripDropDownButton    tsddbtn
ToolStripLabel    tslbl
ToolStripMenuItem    tsmi
ToolStripSeparator    tss
ToolStripSplitButton    tssbtn
ToolTip    tip
TrackBar    trb
TreeView    tvw
VscrollBar    vsb
WebBrowser    wbs

四、WebControl 命名规范

控件类型    控件类型简写
Adrotator    adrt
BulletedList    blst
Button    btn
Calendar    cal
CheckBox    chk
CheckBoxList    chkl
CompareValidator    valc
CustomValidator    valx
DataGrid    dg
DataList    dl
DetailsView dtv
DropDownList    ddl
FileUpLoad    fup
FormView fmv
GridView grv
HiddenField    hfld
HyperLink    lnk
Image    img
ImageButton    ibtn
ImageMap    imap
Label    lbl
LinkButton    lbtn
ListBox    lst
Literal    ltl
Localize    loc
MultiView    mvw
Panel    pnl
PlaceHolder    plh
RadioButton    rad
RadioButtonList    radl
RangeValidator    valg
RegularExpression    reg
Repeater    rpt
RequiredFieldValidator    valr
SubStitution    subs
Table    tbl
TableCell    tblc
TableRow    tblr
TextBox    txt
ValidationSummary    vals
View    vw
Wizard    wiz

.NET控件命名规范的更多相关文章

  1. Visual Studio C#的winform/webform/asp.net控件命名规范

    控件命名规范 类型 前缀 示例 AdRotator adrt adrtTopAd Button btn btnSubmit Calendar cal calMettingDates CheckBox ...

  2. C#中常见的winform控件命名规范

    我们知道Button 常常简称为btn,那么Winform中的其它控件呢,这篇文章在C#的winform控件命名规范 的基础上对一些控件的名称的简称进行了整理. 1. 标准控件 NO. 控件类型简写 ...

  3. C#控件命名规范

    文档名称: C#控件命名规范 撰写作者: codefly 版本编号: V1.1 C#控件命名规范 一.Data Control 类型 前缀 示例 AccessDataSource ads adsPub ...

  4. Visual Studio 控件命名规范(很详细)

    VS 控件命名规范 Type Prefix Example Array arr arrShoppingList Boolean bln blnIsPostBack Byte byt bytPixelV ...

  5. Visual C#中的winform/webform/asp.net控件命名规范

                                                                            1.控件命名规范 类型 前缀 示例 AdRotator ...

  6. C#中常见的winform控件命名规范 转

    我们知道Button 常常简称为btn,那么Winform中的其它控件呢,这篇文章在C#的winform控件命名规范 的基础上对一些控件的名称的简称进行了整理. 1. 标准控件 NO. 控件类型简写 ...

  7. Winform 控件命名规范

    前言 最近 Winform 项目做得比较多,控件命名规范上常用的能记住,但是有些总要查,写个记录吧.方便以后自己用,大家也可以参考. 标准控件 序号 控件类型简写 控件类型 1 btn Button ...

  8. C#的winform控件命名规范

    注:这里用红字标记的部分表示有重复出现,括号内为替代表示方案 1.标准控件 序号 控件类型简写 控件类型 1 btn Button 2 chk CheckBox 3 ckl CheckedListBo ...

  9. C#winfrom控件命名规范

     ※用红字标记的部分表示有重复出现,括号内为替代表示方案 1.标准控件 序号 控件类型简写 控件类型 1 btn Button 2 chk CheckBox 3 ckl CheckedListBox ...

随机推荐

  1. HttpUtils 封装类

    作为一个web开发人员,对Http 请求,并不陌生.有时候,我们请求的时候,需要使用代码实现,一般情况,我们使用Apache Jakarta Common 下的子项目.的HttpClient. 可是我 ...

  2. BNU27937——Soft Kitty——————【扩展前缀和】

    Soft Kitty Time Limit: 1000ms Memory Limit: 65536KB 64-bit integer IO format: %lld      Java class n ...

  3. solr的schema.xml配置文件关键词意义

    fieldType:配置扩展的分析器analyzer:具体的分析器的全路径field:配置具体的索引业务字段name:字段的名称type:指定使用哪种分析器域:StringField,textFiel ...

  4. Silverlight & Blend动画设计系列十二:三角函数(Trigonometry)动画之自由旋转(Free-form rotation)

    说到对象的旋转,或许就会联想到对象角度的概念.对象的旋转实现实际上就是利用对象的角度改变来实现的位置变换,在<Silverlight & Blend动画设计系列二:旋转动画(Rotate ...

  5. svn的使用总结

    在网上看到了以前介绍非常全的svn的文章,拿来分享 原文网址  http://www.cnblogs.com/jx270/archive/2013/03/04/2943595.html 还有一篇更基础 ...

  6. nodejs的get与post

    index.html <html> <body> <form action="/api/v1/records" method="post&q ...

  7. DOM Tree

    DOM Tree   什么是DOM树:网页的所有内容在内存当中,其实是以树形结构存储的 何时创建:当浏览器,读取html中内容的时候,会马上开始创建DOM树. 如何创建: 1.读到HTML的时候还没有 ...

  8. 09_dubbo服务发布原理

    [ 启动服务的日志分析 ] 1.暴露本地服务 Export dubbo service com.alibaba.dubbo.demo.DemoService to local registry, du ...

  9. 基于Tag的Docker自动构建

    构建规则 一旦您的Tag符合“release-v$version"的形式,将触发自动构建:1)若您有$version相关的Tag构建规则,则以$version的Tag规则帮您构建:2)若您没 ...

  10. Android sqlite日期存储

    SQLite日期类型是以TEXT.REAL和INTEGER类型分别不同的格式表示的,对应如下:TEXT: "YYYY-MM-DD HH:MM:SS.SSS"REAL: 以Julia ...