-
Notifications
You must be signed in to change notification settings - Fork 44
Coding Standard reference
Christophe Gagnier edited this page Jun 13, 2014
·
14 revisions
Every control should be named with the correct prefix, followed by the name of the parents control, then the name of this control, optionally followed by its correct suffix. (See the table bellow)
| Control | Prefix | Suffix |
|---|---|---|
| Button | BTN_ | - |
| CheckBox | CHK_ | - |
| TextBox | TXT_ | - |
| DataGridView: | DGV_ | - |
| CheckBox | CHK_ | - |
| Label: | LBL_ | - |
| TabControl: | TAB_ | - |
| TabPage: | TAB_ | _Page |
| Splitter: | SPL_ | - |
| ComboBox: | CMB___ | - |
Member variable should start with the prefix m_ and use camelCase
Every public components of a class MUST be correctly commented