admin 管理员组

文章数量: 887017


2024年1月14日发(作者:verilog语言wait语句)

C#里边的控件缩写大全(比较规范)

标准控件

1 btn Button 2 chk CheckBox 3 ckl CheckedListBox

4 cmb ComboBox 5 dtp DateTimePicker 6 lbl Label

7 llb LinkLabel 8 lst ListBox 9 lvw ListView

10 mtx MaskedTextBox 11 cdr MonthCalendar 12 icn NotifyIcon

13 nud NumeircUpDown 14 pic PictureBox 15 prg ProgressBar

16 rdo RadioButton 17 rtx RichTextBox 18 txt TextBox

19 tip ToolTip 20 tvw TreeView 21 wbs WebBrowser

容器控件

1 flp FlowLayoutPanel 2 grp GroupBox 3 pnl Panel

4 spl SplitContainer 5 tab TabControl 6 tlp TableLayoutPanel

菜单和工具栏

1 cms ContextMenuStrip

2 mns MenuStrip

3 ssr StatusStrip

4 tsr ToolStrip

5 tsc ToolStripContainer

数据

1 dts DataSet

2 dgv DataGridView

3 bds BindingSource

4 bdn BindingNavigator

5 rpv ReportViewer

对话框

1 cld ColorDialog

2 fbd FolderBrowserDialog

3 fnd FontDialog

4 ofd OpenFileDialog

5 sfd SaveFileDialog

组件

1 bgw BackgroundWorker

2 dre DirectoryEntry

3 drs DirectorySearcher

4 err ErrorProvider

5 evl EventLog

6 fsw FileSystemWatcher

7 hlp HelpProvider

8 img ImageList

9 msq MessageQueue

10 pfc PerformanceCounter

11 prc Process

12 spt SerialPort

13 scl ServiceController

14 tmr Timer

印刷

1 psd PageSetupDialog

2 prd PrintDialog

3 pdc PrintDocument

4 prv PrintPreviewControl

5 ppd PrintPreviewDialog

水晶报表

1 crv CrystalReportViewer

2 rpd ReportDocument

其他

1 dud DomainUpDown

2 hsc HScrollBar

3 prg PropertyGrid

4 spl Splitter

5 trb TrackBar

6 vsc VScrollBar

==============================================

AdRotator ar

Button btn

Calender cal

CheckBox chk

CheckBoxList chklst

Column (DataGridView的) col

ColumnHeader (ListView 的) ch

Combobox cbo

CompareValidator cv

CrystalReportViewer rptvew

DataGrid dg

DataGridView dgv

DataList dl

DomainUpDown dud

DropDownList ddl

FileUpload ful

Form frm

GridView gv

GroupBox grp

HiddenField hf

Image img

ImageButton imgbtn

ImageList il

Label lbl

LinkButton lnkbtn

ListBox lst

ListView lv

MenuStrip ms

ObjectDataSource ods

PagedDataSource pds

Panel pnl

PictureBox pic

RadioButton rdo

RadioButtonList rdolst

RangeValidator rv

RegularExpressionValidator rev

Repeater rpt

RequiredFieldValidator rfv

StatusLabel slbl

StatusStrip ss

TabControl tab

Table tbl

TabPage tp

TextBox txt

Timer tmr

ToolStrip ts

ToolStripButton tsbtn

ToolStripDropDownButton tsddb

ToolStripLabel tslbl

ToolStripMenuItem tsmi

TreeView tv/tvw

ValidatorSummary vs

WebBrowser

__________________________________________Version2

标准控件缩写规范

类 型

Adrotator

BulletedList

Button

Calendar

CheckBox

CheckBoxList

DropDownList

FileUpLoad

HiddenField

HyperLink

Image

ImageButton

ImageMap

Label

LinkButton

ListBox

Literal

Localize

MultiView

Panel

PlaceHolder

前 缀

adrt

blst

btn

cal

chk

chkl

drop

fup

hfld

hlk

img

ibtn

imap

lbl

lbtn

lst

ltl

loc

mvw

pnl

plh

示 例

adrtTopAd

blstCity

btnSubmit

calMettingDates

chkBlue

chklFavColors

dropCountries

fupImage

hfldName

hlkDetails

imgAuntBetty

ibtnSubmit

imapSite

lblResults

lbtnSubmit

lstCountries

ltlTitle

locChina

mvwForm1

pnlForm2

plhFormContents

RadioButton

RadioButtonList

SubStitution

Table

TextBox

View

Wizard

Xml

Data Control

类 型

AccessDataSource

DataList

DetailView

FormView

GridView

ObjectDataSource

Repeater

ReportViewer

SiteMapDataSource

SqlDataSource

XmlDataSource

Validation Control

类 型

CompareValidator

CustomValidator

RangeValidator

RegularExpressionValidator

RequiredFieldValidator

ValidationSummary

Navigation Control

类 型

Menu

rad

radl

subs

tbl

txt

vw

wiz

xml

radFemale

radlGender

subsTime

tblCountryCodes

txtFirstName

vwCity

wizRegister

xmlBooks

前 缀

ads

dlst

dvw

fvw

gvw

ods

rpt

rvw

smds

sds

xds

示 例

adsPubs

dlstTitles

dvwTitles

fvwFonts

gvwCity

odsMenus

rptQueryResults

rvwRecord

smdsSite

sdsBooks

xdsTitles

前 缀

valc

valx

valg

vale

valr

vals

示 例

valcValidAge

valxDBCheck

valgAge

valeEmail

valrFirstName

valsFormErrors

前 缀

mnu

示 例

mnuUser1

SiteMapPath

TreeView

Login Control

类 型

ChangePassword

CreateUserWizard

Login

LoginName

LoginStatus

LoginView

PasswordRecovery

WebParts Control

类 型

AppearanceEditorPart

BehaviorEditorPart

CatalogZone

ConnectionsZone

DeclarativeCatalogPart

EditorZone

ImportCatalogPart

LayoutEditorPart

PageCatalogPart

PropertyGridEditorPart

ProxyWebPartManager

WebPartManager

WebPartZone

.net控件名缩写规范

基本类型: 数据类型缩写

string str

int i

char chr

sbyte sb

byte bt

uint ui

long l

ulong ul

float f

double d

smp

trvw

smpSite1

trvwMenu

前 缀

cpwd

cuw

log

logn

logs

logv

pwdr

示 例

cpwdUser1

cuwLogin

logCenter

lognUser

logsUser

logvUser

pwdrUser

前 缀

paed

pbed

zca

zcon

pdca

zed

pica

pled

ppca

ppge

mpwp

mwp

zwp

示 例

paedPart1

pbedPart2

zcatCity

zconDataBase

pdcaPart1

zedNews

picaPart

pledNews

ppcaMail

ppgeServer

mpwpWeb

mwpSite1

zwpSite2

bool b

decimal dec

——————————————————————————————————————————

A、web控件 控件名缩写

AdRotator art

Button btn

Calendar cd

CheckBox chk

CheckBoxList chkl

CompareValidator cpv

CustomValidator ctv

DataGrid dg

DataList dl

DropDownList ddl

HyperLink hl

Image img

ImageButton Ibtn

Label lbl

ListBox lst

Panel pl

PlaceHolder ph

RadioButton rb

RadioButtonList rbl

RangeValidator rv

RegularExpressionValidator rev

Repeater rp

RequiredFieldValidator rfv

Table tb

TableCell tc

TableRow tr

TextBox txt

ValidationSummary vs

XML XML

——————————————————————————————————————————

B 、html控件 控件名缩写

HtmlAnchor hah

HtmlButton hbtn

HtmlForm hform

HtmlGenericControl hgc

HtmlImage himg

HtmlInputButton(按钮) htxt

HtmlInputButton(重置) hrbtn

HtmlInputButton(提交) hcbtn

HtmlInputCheckBox hick

HtmlInputFile hifile

HtmlInputHidden hihidden

HtmlInputImage hiimg

HtmlInputRadioButton hirb

HtmlInputText(密码) hpwd

HtmlInputText(文本) hitxt

HtmlSelect hslt

HtmlTable htab

HtmlTableCell htc

HtmlTableRow htr

HtmlTextArea htxta

————————————————————————————————————————————

C 、控件 命名规范 类型前缀示例

Connection con conNorthwind

Command cmd cmdReturnProducts

Parameter parm parmProductID

DataAdapter dad dadProducts

DataReader dtr dtrProducts

DataSet dst dstNorthWind

DataTable dtbl dtblProduct

DataRow drow drowRow98

DataColumn dcol dcolProductID

DataRelation drel drelMasterDetail

DataView dvw dvwFilteredProducts

————————————————————————————————————————————

标准控件

1 btn Button

2 chk CheckBox

3 ckl CheckedListBox

4 cmb ComboBox

5 dtp DateTimePicker

6 lbl Label

7 llb LinkLabel

8 lst ListBox

9 lvw ListView

10 mtx MaskedTextBox

11 cdr MonthCalendar

12 icn NotifyIcon

13 nud NumeircUpDown

14 pic PictureBox

15 prg ProgressBar

16 rdo RadioButton

17 rtx RichTextBox

18 txt TextBox

19 tip ToolTip

20 tvw TreeView

21 wbs WebBrowser

容器控件

1 flp FlowLayoutPanel

2 grp GroupBox

3 pnl Panel

4 spl SplitContainer

5 tab TabControl

6 tlp TableLayoutPanel

菜单和工具栏

1 cms ContextMenuStrip

2 mns MenuStrip

3 ssr StatusStrip

4 tsr ToolStrip

5 tsc ToolStripContainer

数据

1 dts DataSet

2 dgv DataGridView

3 bds BindingSource

4 bdn BindingNavigator

5 rpv ReportViewer

对话框

1 cld ColorDialog

2 fbd FolderBrowserDialog

3 fnd FontDialog

4 ofd OpenFileDialog

5 sfd SaveFileDialog

组件

1 bgw BackgroundWorker

2 dre DirectoryEntry

3 drs DirectorySearcher

4 err ErrorProvider

5 evl EventLog

6 fsw FileSystemWatcher

7 hlp HelpProvider

8 img ImageList

9 msq MessageQueue

10 pfc PerformanceCounter

11 prc Process

12 spt SerialPort

13 scl ServiceController

14 tmr Timer

印刷

1 psd PageSetupDialog

2 prd PrintDialog

3 pdc PrintDocument

4 prv PrintPreviewControl

5 ppd PrintPreviewDialog

水晶报表

1 crv CrystalReportViewer

2 rpd ReportDocument

其他

1 dud DomainUpDown

2 hsc HScrollBar

3 prg PropertyGrid

4 spl Splitter

5 trb TrackBar

6 vsc VScrollBar

==============================================

AdRotator ar

Button btn

Calender cal

CheckBox chk

CheckBoxList chklst

Column (DataGridView的) col

ColumnHeader (ListView 的) ch

Combobox cbo

CompareValidator cv

CrystalReportViewer rptvew

DataGrid dg

DataGridView dgv

DataList dl

DomainUpDown dud

DropDownList ddl

FileUpload ful

Form frm

GridView gv

GroupBox grp

HiddenField hf

Image img

ImageButton imgbtn

ImageList il

Label lbl

LinkButton lnkbtn

ListBox lst

ListView lv

MenuStrip ms

ObjectDataSource ods

PagedDataSource pds

Panel pnl

PictureBox pic

RadioButton rdo

RadioButtonList rdolst

RangeValidator rv

RegularExpressionValidator rev

Repeater rpt

RequiredFieldValidator rfv

StatusLabel slbl

StatusStrip ss

TabControl tab

Table tbl

TabPage tp

TextBox txt

Timer tmr

ToolStrip ts

ToolStripButton tsbtn

ToolStripDropDownButton tsddb

ToolStripLabel tslbl

ToolStripMenuItem tsmi

TreeView tv/tvw

ValidatorSummary vs

WebBrowser wb


本文标签: 控件 缩写 规范 语言 类型