We shall be using coding standards derived from Java. However, since VB.NET has some differences in its syntax of implementing OOP, we also have a few rules madeup for coding (tentative)…
- All private members will be declared with an underscore before their names
- All properties will have the same name as their private counterparts but without the underscore
If a method has a correlation with a property, the method name will end with an underscore, and the name will be the same as the propertyAs in Java, classes begin with uppercase letters- According to VB conventions, all classes will have the “cls” prefix and then begin with uppercase letters
- As with VB conventions, forms and form controls will all have a prefix in their naming that is appropriate to their type, eg. frm for forms, cmd for command buttons, etc.
- As in Java, variables start with lowercase letters and the next word with uppercase
- As in Java, methods will be similarily named as variables





3 responses so far ↓
rugharo // September 12, 2008 at 4:51 pm |
you guys are good!!!!
brook // April 26, 2009 at 5:39 pm |
hi i am also working on payroll system.So please send me the source code of your project.
Hamman // April 27, 2009 at 9:00 am |
Hi, the source code is available for download on Sourceforge for free
See this post for the link:
http://project2.wordpress.com/2007/06/26/going-open-source/