Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
GeneralRe: string Pin
Luc Pattyn25-Jun-09 12:31
sitebuilderLuc Pattyn25-Jun-09 12:31 
GeneralRe: string Pin
J4amieC25-Jun-09 4:45
J4amieC25-Jun-09 4:45 
GeneralRe: string Pin
musefan25-Jun-09 4:59
musefan25-Jun-09 4:59 
QuestionRouter's bytes transferred so far Pin
Muammar©25-Jun-09 2:58
Muammar©25-Jun-09 2:58 
GeneralRe: Router's bytes transferred so far Pin
harold aptroot25-Jun-09 3:02
harold aptroot25-Jun-09 3:02 
AnswerRe: Router's bytes transferred so far Pin
Rajesh R Subramanian25-Jun-09 3:04
professionalRajesh R Subramanian25-Jun-09 3:04 
AnswerRe: Router's bytes transferred so far Pin
OriginalGriff25-Jun-09 3:06
mveOriginalGriff25-Jun-09 3:06 
Questionopening child window in mdi application. Pin
vinay_K25-Jun-09 2:44
vinay_K25-Jun-09 2:44 
Questiongui problem Pin
Serv-dee25-Jun-09 2:07
Serv-dee25-Jun-09 2:07 
QuestionRe: gui problem Pin
harold aptroot25-Jun-09 2:13
harold aptroot25-Jun-09 2:13 
AnswerRe: gui problem Pin
Rajesh R Subramanian25-Jun-09 2:43
professionalRajesh R Subramanian25-Jun-09 2:43 
AnswerRe: gui problem [modified] Pin
padmanabhan N25-Jun-09 2:14
padmanabhan N25-Jun-09 2:14 
GeneralRe: gui problem Pin
J4amieC25-Jun-09 2:27
J4amieC25-Jun-09 2:27 
AnswerRe: gui problem PinPopular
Pete O'Hanlon25-Jun-09 2:47
mvePete O'Hanlon25-Jun-09 2:47 
GeneralRe: gui problem Pin
Rajesh R Subramanian25-Jun-09 2:52
professionalRajesh R Subramanian25-Jun-09 2:52 
GeneralRe: gui problem Pin
Pete O'Hanlon25-Jun-09 3:03
mvePete O'Hanlon25-Jun-09 3:03 
GeneralRe: gui problem Pin
Rajesh R Subramanian25-Jun-09 3:09
professionalRajesh R Subramanian25-Jun-09 3:09 
QuestionDate Format Pin
kibromg25-Jun-09 1:43
kibromg25-Jun-09 1:43 
AnswerRe: Date Format Pin
stancrm25-Jun-09 1:48
stancrm25-Jun-09 1:48 
AnswerRe: Date Format Pin
Manas Bhardwaj25-Jun-09 2:03
professionalManas Bhardwaj25-Jun-09 2:03 
QuestionHow to confirm user & pass with active directory Pin
treuveni25-Jun-09 1:31
treuveni25-Jun-09 1:31 
AnswerRe: How to confirm user & pass with active directory Pin
J4amieC25-Jun-09 1:52
J4amieC25-Jun-09 1:52 
QuestionKeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 1:12
Mc_Topaz25-Jun-09 1:12 
AnswerRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
OriginalGriff25-Jun-09 1:20
mveOriginalGriff25-Jun-09 1:20 
Sigh | :sigh:

If you look at the documentation, (or even just try it and look at what you get) I think you will see that you get a OnKeyDown event for each key. No, not together. Seperately. One after the other.

Just how did you think e.KeyCode was going to equal two different values? Rewrite your code as
if (e.KeyCode == 1 && e.KeyCode == 2)

and you might get the point?

I am posting this to Coding horrors as a warning to all other students.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: KeyEventArgs question: Get one of the arrow keys and space key at the same time Pin
Mc_Topaz25-Jun-09 6:08
Mc_Topaz25-Jun-09 6:08 

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.