[C#]命名縮寫
含WebFrm 及 WindowsForm(WinForm)
http://unicorntudo.blogspot.com/2013/04/c.html
http://imagine-code.blogspot.com/2013/07/caspnet.html
對於程式設計師來說,命名原則是很重要的,
並且在更多人同時開發一個程式時,就更必須要遵守該原則
才能有效率的開發程式
| Label | lbl | TextBox | txt |
| Button | btn | LinkButton | lnkbtn |
| ImageButton | imgbtn | ListBox | lst |
| DropDownList | ddl | DataGrid | dg |
| DataList | dl | CheckBox | chk |
| CheckBoxList | chklst | RadioButton | rdo |
| RadioButtonList | rdolst | Image | img |
| Panel | pnl | Calender | cal |
| AdRotator | ar | Table | tbl |
| RequiredFieldValidator | rfv | CompareValidator | cv |
| RangeValidator | rv | RangeExpressionValidator | rev |
| ValidatorSummary | vs | CrystalReportViewer | rptvew |
| ComboBox | cbo | DataGridView | dgv |
| DataGridView 的 Column | col | GroupBox | grp |
| ImageList | il | ListView | lv |
| ListView 的 ColumnHeader | ch | MenuStrip | ms |
| ToolStripMenuItem | tsmi | PictureBox | pic |
| StatusStrip | ss | StatusLable | slbl |
| TabControl | tab | TabPage | tp |
| Timer | tmr | ToolStrip | ts |
| ToolStripLabel | tslbl | ToolStripButton | tsbtn |
| ToolStripDropDownButton | tsddb | DomainUpDown | dud |
| TreeView | tv 或 tvw | WebBrowser | wb |
| ObjectDataSource | ods | FileUpload | ful |
| HiddenField | hf | GridView | gv |
| PagedDataSource | pds | Repeater | rpt |
沒有留言:
張貼留言