Click here to Skip to main content
15,881,380 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows service to execute ms sql qurey Pin
Garth J Lancaster26-Dec-14 19:39
professionalGarth J Lancaster26-Dec-14 19:39 
QuestionCan anyone give me advice on nested loops? Pin
Member 1133710826-Dec-14 16:29
Member 1133710826-Dec-14 16:29 
GeneralRe: Can anyone give me advice on nested loops? Pin
PIEBALDconsult26-Dec-14 17:18
mvePIEBALDconsult26-Dec-14 17:18 
AnswerRe: Can anyone give me advice on nested loops? Pin
tarun199126-Dec-14 19:08
professionaltarun199126-Dec-14 19:08 
AnswerRe: Can anyone give me advice on nested loops? Pin
BillWoodruff26-Dec-14 20:51
professionalBillWoodruff26-Dec-14 20:51 
GeneralRe: Can anyone give me advice on nested loops? Pin
Member 1133710826-Dec-14 21:14
Member 1133710826-Dec-14 21:14 
GeneralRe: Can anyone give me advice on nested loops? Pin
BillWoodruff26-Dec-14 21:40
professionalBillWoodruff26-Dec-14 21:40 
QuestionDetect Enter key press - click button when pressed Pin
robwm126-Dec-14 11:42
robwm126-Dec-14 11:42 
Hi,

I have a winform application that is a simple form with three textboxes, submit button, and cancel button. When a user is entering data, I would like the application to detect if the Enter key is pressed and "click" the Submit button when the key press is detected without regard to which control currently has focus.

Does this require a key press event for each control or is there a way to globally detect the key press?

Thanks,
Rob
AnswerRe: Detect Enter key press - click button when pressed Pin
Dave Kreskowiak26-Dec-14 16:07
mveDave Kreskowiak26-Dec-14 16:07 
GeneralRe: Detect Enter key press - click button when pressed Pin
BillWoodruff26-Dec-14 23:04
professionalBillWoodruff26-Dec-14 23:04 
GeneralRe: Detect Enter key press - click button when pressed Pin
Dave Kreskowiak27-Dec-14 5:13
mveDave Kreskowiak27-Dec-14 5:13 
AnswerRe: Detect Enter key press - click button when pressed Pin
tarun199126-Dec-14 19:16
professionaltarun199126-Dec-14 19:16 
GeneralRe: Detect Enter key press - click button when pressed Pin
robwm127-Dec-14 6:24
robwm127-Dec-14 6:24 
GeneralRe: Detect Enter key press - click button when pressed Pin
tarun199128-Dec-14 7:45
professionaltarun199128-Dec-14 7:45 
GeneralRe: Detect Enter key press - click button when pressed Pin
tarun199131-Dec-14 7:42
professionaltarun199131-Dec-14 7:42 
AnswerRe: Detect Enter key press - click button when pressed Pin
BillWoodruff26-Dec-14 20:02
professionalBillWoodruff26-Dec-14 20:02 
GeneralRe: Detect Enter key press - click button when pressed Pin
robwm127-Dec-14 6:22
robwm127-Dec-14 6:22 
QuestionIn Custom Featured MessageBox how to change font size Pin
Member 1111316725-Dec-14 18:47
Member 1111316725-Dec-14 18:47 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
BillWoodruff25-Dec-14 18:57
professionalBillWoodruff25-Dec-14 18:57 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
syed shanu25-Dec-14 19:56
mvasyed shanu25-Dec-14 19:56 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
deepankarbhatnagar26-Dec-14 1:46
professionaldeepankarbhatnagar26-Dec-14 1:46 
AnswerRe: In Custom Featured MessageBox how to change font size Pin
OriginalGriff26-Dec-14 2:46
mveOriginalGriff26-Dec-14 2:46 
Questionloop through user controls Pin
Jassim Rahma24-Dec-14 4:32
Jassim Rahma24-Dec-14 4:32 
AnswerRe: loop through user controls Pin
OriginalGriff24-Dec-14 4:46
mveOriginalGriff24-Dec-14 4:46 
GeneralMessage Closed Pin
24-Dec-14 7:07
professionalBillWoodruff24-Dec-14 7:07 

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.