C # control prefix naming rules,

Source: Internet
Author: User
Tags spl

C # control prefix naming rules,
Standard controls

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 mT MaskedTextBox

11 cdr MonthCalendar

12 icn policyicon

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

Container Control

1 flp FlowLayoutPanel

2 grp GroupBox

3 pnl Panel

4 spl SplitContainer

5 tab TabControl

6 tlp TableLayoutPanel

Menu and toolbar

1 cms ContextMenuStrip

2 mns MenuStrip

3 ssr StatusStrip

4 tsr ToolStrip

5 tsc ToolStripContainer

Data

1 dts DataSet

2 dgv DataGridView

3 bds BindingSource

4 bdn BindingNavigator

5 rpv ReportViewer

Dialog Box

1 cld ColorDialog

2 fbd FolderBrowserDialog

3 fnd FontDialog

4 ofd OpenFileDialog

5 sfd SaveFileDialog

Components

1 bgw BackgroundWorker

2 DH 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

Printing

1 psd PageSetupDialog

2 prd PrintDialog

3 pdc PrintDocument

4 prv PrintPreviewControl

5. ppd PrintPreviewDialog

Crystal Report

1 crv CrystalReportViewer

2 rpd ReportDocument

Others

1 dud DomainUpDown

2 HScrollBar

3 prg PropertyGrid

4 spl Splitter

5 trb TrackBar

6. vsc VScrollBar

Press letters

A

AdRotator ---- ar

B

Button ---- btn

C

Calender ---- cal

CheckBox ---- chk

CheckBoxList ---- chklst

Column (DataGridView's)-col

ColumnHeader (ListView) ch

Combobox ---- cbo

CompareValidator ---- cv

CrystalReportViewer-rptvew

D

DataGrid ---- dg

DataGridView ---- dgv

DataList ---- dl

DomainUpDown ---- dud

DropDownList ---- ddl

F

FileUpload ------------ ful

Form --------------------- frm

G

GridView -------------- gv

GroupBox -------------- grp

H

HiddenField ------------ hf

I

Image -------------- img

ImageButton -------------- imgbtn

ImageList -------------- il

L

Label -------------- lbl

LinkButton -------------- lnkbtn

ListBox -------------- lst

ListView -------------- lv

M

MenuStrip -------------- MS.

O

ObjectDataSource ------------- ods

P

PagedDataSource ------------- Pam

Panel -------------- pnl

PictureBox ------------- pic

R

RadioButton -------------- rdo

RadioButtonList ------------- rdolst

RangeValidator ------------- rv

RegularExpressionValidator rev

Repeater -------------- rpt

RequiredFieldValidator-rfv

S

StatusLabel -------------- slbl

StatusStrip -------------- ss

T

TabControl -------------- tab

Table -------------- tbl

TabPage -------------- tp

TextBox -------------- txt

Timer -------------- tmr

ToolStrip -------------- ts

ToolStripButton ------------- tsbtn

ToolStripDropDownButton-tsddb

ToolStripLabel ------------- tslbl

ToolStripMenuItem-tsmi

TreeView ------------ TV/tvw

V

ValidatorSummary -------------

W

WebBrowser ------------ wb

 

 


In the C language, what is the symbol (->) and how to use it?

This is a symbol in the struct pointer. Write a program to explain it, for example:
# Include <stdio. h>
Struct STU // define a struct
{
Int num;
} Stu;
Int main ()
{
Struct STU * p; // defines a struct pointer.
P = stu; // p points to the struct variable stu.
Stu. num = 100; // attaches an initial value to the struct member num.
Printf ("% d", p-> num); // output the num value in stu
Return;
}
As you can see, the-> method is to reference the variable in the struct !!
Format: p-> struct member (such as p-> num)
The function is equivalent to stu. num or (* p). num.
I don't know. You don't understand, and don't understand call me. O (∩ _ ∩) O ~
Hope to adopt it.

In the C language, what is the symbol (->) and how to use it?

This is a symbol in the struct pointer. Write a program to explain it, for example:
# Include <stdio. h>
Struct STU // define a struct
{
Int num;
} Stu;
Int main ()
{
Struct STU * p; // defines a struct pointer.
P = stu; // p points to the struct variable stu.
Stu. num = 100; // attaches an initial value to the struct member num.
Printf ("% d", p-> num); // output the num value in stu
Return;
}
As you can see, the-> method is to reference the variable in the struct !!
Format: p-> struct member (such as p-> num)
The function is equivalent to stu. num or (* p). num.
I don't know. You don't understand, and don't understand call me. O (∩ _ ∩) O ~
Hope to adopt it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.