Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Naming conventions
Message
From
07/11/2006 10:41:15
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01167628
Message ID:
01167668
Views:
13
We use a foxpro style btnOK here. Most people I have spoken with do the same to indicate the controls.



>I saw a post on here about naming conventions and avoiding hungarian notation. So here's my question posing as an example:
>
>I have a form with let's say a button whose text is 'OK' that simply closes the form. Would it be more .NET-friendly to name the objects so:
>
>
>Form1.Name = 'formMine'
>Button1.Name = 'buttonOK'
>
>OR
>
>Form1.Name = 'MyForm'
>Button1.Name = 'OKButton'
>
>?
>
>I'm coming from the hungarian camp but I tend to think about those that have to maintain after I'm gone.
>
>Thanks
>
>Richard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform