C#控件命名規(guī)范
更新時間:2010年09月15日 11:10:02 作者:
C#控件命名規(guī)范,遵守規(guī)范有利于代碼的可維護(hù)性。
控件名 前綴
Lable lbl
TextBox txt
Button btn
LinkButton lnkbtn
ImageButton imgbtn
ListBox lst
DropDownList ddl
DataGrid dg
DataList dl
CheckBox chk
RadioButton rdo
RadioButtonList rdolst
Image img
Panel pnl
Calender cal
AdRotator ar
MenuStrip ms
ToolStripMenuItem tsmi
PictureBox pic
StatusStrip ss
DataGridView dgv
Table tbl
RequiredFieldValidator rfv
Comparidator cv
Rangidator rv
ReqularExpressionValidator rev
ValidatorSummary vs
CrystalReportViewer rptvew
ComboBox cbo
DataGridView dgv
GroupBox grp
ImageList il
ListView lv
ColumnHeader ch
StatusLable slbl
TabControl tab
TabPage tp
Timer tmr
ToolStrip ts
ToolStripButton tsbtn
ToolStripDropDownButton tsddb
DomainUpDown dud
FileUpload ful
Repeater rpt
Lable lbl
TextBox txt
Button btn
LinkButton lnkbtn
ImageButton imgbtn
ListBox lst
DropDownList ddl
DataGrid dg
DataList dl
CheckBox chk
RadioButton rdo
RadioButtonList rdolst
Image img
Panel pnl
Calender cal
AdRotator ar
MenuStrip ms
ToolStripMenuItem tsmi
PictureBox pic
StatusStrip ss
DataGridView dgv
Table tbl
RequiredFieldValidator rfv
Comparidator cv
Rangidator rv
ReqularExpressionValidator rev
ValidatorSummary vs
CrystalReportViewer rptvew
ComboBox cbo
DataGridView dgv
GroupBox grp
ImageList il
ListView lv
ColumnHeader ch
StatusLable slbl
TabControl tab
TabPage tp
Timer tmr
ToolStrip ts
ToolStripButton tsbtn
ToolStripDropDownButton tsddb
DomainUpDown dud
FileUpload ful
Repeater rpt
相關(guān)文章
如何在WebForm中使用javascript防止連打(雙擊)
如何在WebForm中使用javascript防止連打(雙擊)...2007-01-01.NET?Core使用flyfire.CustomSerialPort實現(xiàn)Windows/Linux跨平臺串口通訊
本文詳細(xì)講解了.NET?Core使用flyfire.CustomSerialPort實現(xiàn)Windows/Linux跨平臺串口通訊的方法,文中通過示例代碼介紹的非常詳細(xì)。對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2022-01-01ASP.NET實現(xiàn)word文檔在線預(yù)覽功能代碼
文檔管理系統(tǒng)需要實現(xiàn)WORD能在線預(yù)覽功能,以前覺得挺難的,經(jīng)過一番研究發(fā)現(xiàn),WORD自帶的另存為可以保存為HTMl文件。2010-07-07ASP.NET創(chuàng)建三層架構(gòu)圖解詳細(xì)教程
本文以圖片的形式完整演示了創(chuàng)建三層架構(gòu)的完整步驟,簡單實用,希望能給大家一些幫助。2016-04-04.Net行為型設(shè)計模式之職責(zé)鏈模式(Chain of Responsibility)
這篇文章介紹了.Net行為型設(shè)計模式之職責(zé)鏈模式(Chain of Responsibility),文中通過示例代碼介紹的非常詳細(xì)。對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2022-05-05ASP.NET?Core?MVC路由(Routing)的用法
這篇文章介紹了ASP.NET?Core?MVC路由(Routing)的用法,文中通過示例代碼介紹的非常詳細(xì)。對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2022-04-04使用vs2022在.net6中調(diào)試帶typescript的靜態(tài)頁面
這篇文章介紹了使用vs2022在.net6中調(diào)試帶typescript的靜態(tài)頁面,對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2021-12-12