WinForm Control naming specification
Data type |
Data type Shorthand |
Example of standard naming |
Label |
LbL |
Lblmessage |
LinkLabel |
Llbl |
Llbltoday |
Button |
Btn |
Btnsave |
Textbox |
Txt |
Txtname |
MainMenu |
Mmnu |
Mmnufile |
CheckBox |
Chk |
Chkstock |
RadioButton |
Rbtn |
rbtnselected |
GroupBox |
Gbx |
Gbxmain |
PictureBox |
Pic |
Picimage |
Panel |
PnL |
Pnlbody |
Datagrid |
Dgrd |
Dgrdview |
ListBox |
Lst |
Lstproducts |
CheckedListBox |
Clst |
Clstchecked |
ComboBox |
Cbo |
Cbomenu |
Listview |
Lvw |
Lvwbrowser |
Treeview |
Tvw |
Tvwtype |
TabControl |
Tctl |
tctlselected |
DateTimePicker |
Dtp |
Dtpstartdate |
HscrollBar |
Hsb |
Hsbimage |
VScrollBar |
Vsb |
Vsbimage |
Timer |
Tmr |
Tmrcount |
ImageList |
Ilst |
Ilstimage |
ToolBar |
Tlb |
Tlbmanage |
StatusBar |
StB |
Stbfootprint |
OpenFileDialog |
Odlg |
Odlgfile |
SaveFileDialog |
Sdlg |
Sdlgsave |
Foldbrowserdialog |
Fbdlg |
Fgdlgbrowser |
FontDialog |
Fdlg |
Fdlgfoot |
ColorDialog |
Cdlg |
Cdlgcolor |
PrintDialog |
Pdlg |
Pdlgprint |
WinForm Control naming specification comparison table