Click here to Skip to main content
15,899,018 members
Home / Discussions / C#
   

C#

 
AnswerRe: timers in services Pin
Stefan Troschuetz30-Sep-06 23:21
Stefan Troschuetz30-Sep-06 23:21 
QuestionControls's array Pin
t_nedelchev30-Sep-06 22:07
t_nedelchev30-Sep-06 22:07 
AnswerRe: Controls's array Pin
Stefan Troschuetz30-Sep-06 22:17
Stefan Troschuetz30-Sep-06 22:17 
GeneralRe: Controls's array Pin
t_nedelchev30-Sep-06 23:06
t_nedelchev30-Sep-06 23:06 
GeneralRe: Controls's array Pin
Stefan Troschuetz30-Sep-06 23:17
Stefan Troschuetz30-Sep-06 23:17 
GeneralRe: Controls's array Pin
t_nedelchev1-Oct-06 1:23
t_nedelchev1-Oct-06 1:23 
Questionkeys events Pin
Kola Sokol30-Sep-06 22:05
Kola Sokol30-Sep-06 22:05 
AnswerRe: keys events Pin
Stefan Troschuetz30-Sep-06 22:29
Stefan Troschuetz30-Sep-06 22:29 
At first I'm not really sure whether the keychar resulting from pressing enter is "\r". It would be better to check for it inside the KeyDown event handler e.KeyCode == Keys.Enter. This way you will also have your keyboard event handling in one place.
Secondly, are you sure the events are really fired (You may debug it)? Most probably your entering text in some other control, so the keyboard events of your form are only fired, if you set KeyPreview true. Either do this, or much better IMO register the KeyDown event handler to the control that's getting edited.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: keys events Pin
Kola Sokol30-Sep-06 22:36
Kola Sokol30-Sep-06 22:36 
GeneralRe: keys events Pin
Stefan Troschuetz30-Sep-06 22:47
Stefan Troschuetz30-Sep-06 22:47 
GeneralRe: keys events Pin
Kola Sokol30-Sep-06 23:36
Kola Sokol30-Sep-06 23:36 
GeneralRe: keys events Pin
Stefan Troschuetz30-Sep-06 23:55
Stefan Troschuetz30-Sep-06 23:55 
QuestionCheck out if Serial port is used from another application Pin
t_nedelchev30-Sep-06 22:02
t_nedelchev30-Sep-06 22:02 
AnswerRe: Check out if Serial port is used from another application Pin
Stefan Troschuetz30-Sep-06 22:49
Stefan Troschuetz30-Sep-06 22:49 
QuestionShell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
User 96257830-Sep-06 21:52
User 96257830-Sep-06 21:52 
AnswerRe: Shell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
Stefan Troschuetz30-Sep-06 22:40
Stefan Troschuetz30-Sep-06 22:40 
AnswerRe: Shell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
S. Senthil Kumar1-Oct-06 9:39
S. Senthil Kumar1-Oct-06 9:39 
QuestionSimple DataGridView Question Pin
dy1330-Sep-06 18:41
dy1330-Sep-06 18:41 
AnswerRe: Simple DataGridView Question Pin
LongRange.Shooter3-Oct-06 8:16
LongRange.Shooter3-Oct-06 8:16 
QuestionRegarding Event handling on MicroSoft WebBrowser Control in .Net 1.x (AxSHDocVw.AxWebBrowser) Pin
Mystic_30-Sep-06 12:15
Mystic_30-Sep-06 12:15 
QuestionQueryContinueDrag problem Pin
e-laj30-Sep-06 11:21
e-laj30-Sep-06 11:21 
GeneralWall Street Programming Pin
Andrey Butov30-Sep-06 10:55
Andrey Butov30-Sep-06 10:55 
Questiondata from dataset to array Pin
Amar Chaudhary30-Sep-06 8:26
Amar Chaudhary30-Sep-06 8:26 
AnswerRe: data from dataset to array Pin
Amar Chaudhary30-Sep-06 8:32
Amar Chaudhary30-Sep-06 8:32 
AnswerI found a bug in .net Pin
Amar Chaudhary30-Sep-06 10:11
Amar Chaudhary30-Sep-06 10:11 

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.