Click here to Skip to main content
15,921,203 members
Home / Discussions / C#
   

C#

 
GeneralRe: thread.Abort() doesn't work????? Pin
James T. Johnson23-Oct-02 18:39
James T. Johnson23-Oct-02 18:39 
GeneralHelp about .NET windows service solutions Pin
Member 13227322-Oct-02 5:07
Member 13227322-Oct-02 5:07 
Questionplease try it...see what happens...is it a bug? Pin
Atilla Selem22-Oct-02 4:36
Atilla Selem22-Oct-02 4:36 
AnswerRe: please try it...see what happens...is it a bug? Pin
Daniel Turini22-Oct-02 4:43
Daniel Turini22-Oct-02 4:43 
GeneralRe: please try it...see what happens...is it a bug? Pin
Atilla Selem22-Oct-02 5:51
Atilla Selem22-Oct-02 5:51 
Generalcoding conventions.... Pin
waleed riaz21-Oct-02 22:18
waleed riaz21-Oct-02 22:18 
GeneralRe: coding conventions.... Pin
Stephane Rodriguez.21-Oct-02 22:28
Stephane Rodriguez.21-Oct-02 22:28 
GeneralRe: coding conventions.... Pin
Daniel Turini21-Oct-02 22:30
Daniel Turini21-Oct-02 22:30 
GeneralRe: coding conventions.... Pin
waleed riaz22-Oct-02 9:35
waleed riaz22-Oct-02 9:35 
GeneralRe: coding conventions.... Pin
Daniel Turini22-Oct-02 10:02
Daniel Turini22-Oct-02 10:02 
GeneralRe: coding conventions.... Pin
waleed riaz22-Oct-02 21:52
waleed riaz22-Oct-02 21:52 
GeneralRe: coding conventions.... Pin
Kevin McFarlane24-Oct-02 7:33
Kevin McFarlane24-Oct-02 7:33 
GeneralRe: coding conventions.... Pin
waleed riaz24-Oct-02 19:04
waleed riaz24-Oct-02 19:04 
GeneralRe: coding conventions.... Pin
Kevin McFarlane25-Oct-02 0:07
Kevin McFarlane25-Oct-02 0:07 
GeneralRe: coding conventions.... Pin
Furty25-Oct-02 15:39
Furty25-Oct-02 15:39 
GeneralRe: coding conventions.... Pin
LongRange.Shooter28-Oct-02 11:02
LongRange.Shooter28-Oct-02 11:02 
GeneralRe: coding conventions.... Pin
waleed riaz28-Oct-02 18:31
waleed riaz28-Oct-02 18:31 
GeneralRe: coding conventions.... Pin
LongRange.Shooter29-Oct-02 3:22
LongRange.Shooter29-Oct-02 3:22 
Looking through my code, I have turned to using pascal notation for all of my controls. So for example, most pages I build has a line for display of error messages. That label is named ErrorMessage. A combobox which allows the choices for descriptions of a project phase is named ProjectPhaseChoices. It also helps clarify the code a little bit. For example:

lifeCycle += 2; vs.
LifeCycleChoice.SelectedItem = 1;

It is obvious which is a variable. If Microsoft allowed the original notation for controls (eg: LifeCycleChoice="Unit Testing";) you would have a real hard time short of mouse-floating to determine if you are working with a control or an internal variable. Fortunately, you are forced into explicitely naming the property within the control object. But it is all a matter of personal choice. I name all of my objects in Pascal, so it makes sense that the controls also be named in Pascal as well since both are just objects.

---------------------------------------------
Once I thought I was wrong
but I was happy to discover that was a mistake.


Condor
GeneralRe: coding conventions.... Pin
leppie29-Oct-02 6:08
leppie29-Oct-02 6:08 
GeneralRe: coding conventions.... Pin
LongRange.Shooter29-Oct-02 8:10
LongRange.Shooter29-Oct-02 8:10 
GeneralRe: coding conventions.... Pin
leppie29-Oct-02 9:34
leppie29-Oct-02 9:34 
GeneralRe: coding conventions.... Pin
LongRange.Shooter29-Oct-02 10:04
LongRange.Shooter29-Oct-02 10:04 
GeneralRe: coding conventions.... Pin
leppie29-Oct-02 10:27
leppie29-Oct-02 10:27 
GeneralRe: coding conventions.... Pin
LongRange.Shooter29-Oct-02 10:48
LongRange.Shooter29-Oct-02 10:48 
GeneralRe: coding conventions.... Pin
waleed riaz29-Oct-02 7:18
waleed riaz29-Oct-02 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.