Windows Forms / WPF 通用控件简写

这是桌面开发中最常用到的控件简写

控件类型简写示例
ButtonbtnbtnSave
CheckBoxchkchkRemember
CheckedListBoxckl 或 clstcklOptions
ComboBoxcmb 或 cbocmbCategory
DateTimePickerdtpdtpBirthday
LabellbllblMessage
LinkLabelllb 或 llblllbForgotPwd
ListBoxlstlstItems
ListViewlvw 或 lvlvwFiles
MaskedTextBoxmtxmtxPhone
MonthCalendarcdrcdrStart
NotifyIconicnicnTray
NumericUpDownnudnudQuantity
PictureBoxpicpicAvatar
ProgressBarprg 或 pgbprgLoading
RadioButtonrdo 或 rbtnrdoMale
RichTextBoxrtxrtxContent
TextBoxtxt 或 tbtxtName
ToolTiptiptipHelp
TreeViewtvw 或 tvtvwMenu
WebBrowserwbswbsBrowser

容器与布局控件简写

用于组织和容纳其他控件的容器

控件类型简写示例
FlowLayoutPanelflpflpButtons
GroupBoxgrp 或 gbxgrpAddress
PanelpnlpnlMain
SplitContainerspl 或 spcsplEditor
TabControltab 或 tctltabSettings
TableLayoutPaneltlptlpForm

菜单、工具栏与状态栏简写

用于构建应用程序的菜单和工具栏

控件类型简写示例
ContextMenuStripcmscmsRightClick
MenuStripmns 或 msmnsMain
StatusStripssr 或 ssssrStatus
ToolStriptsr 或 tstsrMain
ToolStripContainertsctscMain

数据相关控件简写

用于数据展示和绑定的控件

控件类型简写示例
DataGridViewdgvdgvUsers
DataSetdtsdtsCustomer
BindingSourcebdsbdsOrders
BindingNavigatorbdnbdnOrders

对话框控件简写

各种标准对话框

控件类型简写示例
ColorDialogcldcldPickColor
FolderBrowserDialogfbdfbdSelectFolder
FontDialogfndfndSelectFont
OpenFileDialogofdofdOpenFile
SaveFileDialogsfdsfdSaveFile