About WinForm/WebForm control naming conventions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there any naming conventions MS prefered about WinForm/WebForm controls?

For example,
1. lblCustName, txtCustName, btnOK
2. CustNameLabel, CustNameTextBox, OKButton
3. LabelCustName, TextBoxCustName, ButtonOK
4. CustName, OK

Which one is prefered?
 
* "=?Utf-8?B?WGlhb2Zlbmc=?= said:
Is there any naming conventions MS prefered about WinForm/WebForm controls?

No.

Naming Guidelines and Code Conventions:

Visual Basic .NET Sample Guidelines
<URL:http://www.gotdotnet.com/team/vb/VBSampleGuidelines.htm>

Naming Conventions for .NET / C# Projects
<URL:http://www.akadia.com/services/naming_conventions.html>

Sheep .Net Naming and Style Convention: Introduction and References
<URL:http://www.google.de/groups?selm=#YF7Ng3uCHA.572@TK2MSFTNGP12>

Naming Guidelines
<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconnamingguidelines.asp>

Design Guidelines for Class Library Developers
<URL:http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp>

SharpDevelop C# Coding Style Guide 0.3
<URL:http://www.icsharpcode.net/TechNotes/SharpDevelopCodingStyle03.pdf>
 
Back
Top