Click here to Skip to main content
15,899,634 members

Comments by Estevão C Souza (Top 5 by date)

Estevão C Souza 2-Feb-15 13:44pm View    
I will try to use FxCop and 'put the concepts in their brains'

Tyvm
Estevão C Souza 2-Feb-15 13:42pm View    
I agree Dave,
Well, i understand and i think you are right. It is a management, but i'm not work in a technology company (the core business is logistic), the best programming practices is 'lose of time' for the hi-managers. I'm trying to introduce some practices to make development better (quality and environment), but i hear a lot of 'sorry, i forget, i do it later, etc'
Because of that i trying to find another 'poka-yoke' solutions
Estevão C Souza 2-Feb-15 12:36pm View    
Hi Sergey,

i'm not trying to create 'automatic comments', i'm looking for a tool that forces the user comment the method or property.
Ex. showing warnings like code analysis of Microsoft or the StyleCop.
'The property 'Name' does not have any comment. Please comment the element'

This is my idea.

I agree to you about the 'machine comments' its only make the code dirty and irritates

Sorry if I did not explain myself properly
Estevão C Souza 13-Mar-13 7:57am View    
Ok!, you're right! KeyPress returns the char, but in my necessity i need handle the KeyDown and KeyUp, because of this i asked 'how to handle keys based on windows layout' in my question. I didn't understand what are you want to say with UILibrary, but i'm using only Control inheritance and Drawings to draw my control.

for info, i'm based my 'idea' on http://neoforce.codeplex.com/releases/view/52549 (CustomControl for XNA Framework)
Estevão C Souza 12-Mar-13 22:16pm View    
hi!
you are correct if we talking about KeyDown and KeyUp events, but in some languages like portuguese the layout of keyboard is different.
Example: KeyUp returns a Keys.Decimal the way correct will be a dot (.), but in ABNT2 layout Keys.Decimal corresponding value is the comma (,) because of this, i used this way 'to solve' partially my problem.