Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
AnswerRe: Advancing On Pressing Enter Pin
Anshul R8-Jun-10 20:21
Anshul R8-Jun-10 20:21 
AnswerRe: Advancing On Pressing Enter Pin
Peace ON8-Jun-10 20:37
Peace ON8-Jun-10 20:37 
GeneralRe: Advancing On Pressing Enter Pin
Roger Wright8-Jun-10 20:47
professionalRoger Wright8-Jun-10 20:47 
AnswerRe: Advancing On Pressing Enter Pin
Dan Mos8-Jun-10 20:47
Dan Mos8-Jun-10 20:47 
GeneralRe: Advancing On Pressing Enter Pin
Roger Wright8-Jun-10 20:52
professionalRoger Wright8-Jun-10 20:52 
GeneralRe: Advancing On Pressing Enter Pin
Dan Mos8-Jun-10 20:55
Dan Mos8-Jun-10 20:55 
AnswerRe: Advancing On Pressing Enter Pin
Henry Minute9-Jun-10 0:19
Henry Minute9-Jun-10 0:19 
AnswerRe: Advancing On Pressing Enter Pin
Richard Andrew x649-Jun-10 4:39
professionalRichard Andrew x649-Jun-10 4:39 
Everything already said will work, but you might also want to consider the "KeyPreview" property of the Form.

This lets the Form see the key-press before it goes to any controls, so it allows you to create a handler at the Form level instead of a handler for each individual control.

Another advantage is that all your code will be inside a single handler instead of spread out among all the various controls.
Questionbinning at zero-filling data Pin
shekarchee8-Jun-10 19:41
shekarchee8-Jun-10 19:41 
AnswerRe: binning at zero-filling data Pin
EliottA9-Jun-10 2:19
EliottA9-Jun-10 2:19 
AnswerRe: binning at zero-filling data Pin
LookSharp9-Jun-10 3:40
LookSharp9-Jun-10 3:40 
QuestionClone Windows Forms Information Pin
Illegal Operation8-Jun-10 19:30
Illegal Operation8-Jun-10 19:30 
AnswerRe: Clone Windows Forms Information Pin
Anshul R8-Jun-10 20:27
Anshul R8-Jun-10 20:27 
AnswerRe: Clone Windows Forms Information Pin
Peace ON8-Jun-10 20:44
Peace ON8-Jun-10 20:44 
QuestionWindows application create an Excel file Pin
Member 44642398-Jun-10 11:45
Member 44642398-Jun-10 11:45 
AnswerRe: Windows application create an Excel file Pin
Dan Mos8-Jun-10 11:59
Dan Mos8-Jun-10 11:59 
AnswerRe: Windows application create an Excel file Pin
Ramkithepower9-Jun-10 4:01
Ramkithepower9-Jun-10 4:01 
Questionwindows application Pin
jashimu8-Jun-10 8:36
jashimu8-Jun-10 8:36 
AnswerRe: windows application Pin
Manas Bhardwaj8-Jun-10 9:08
professionalManas Bhardwaj8-Jun-10 9:08 
AnswerRe: windows application [modified] Pin
#realJSOP8-Jun-10 10:04
professional#realJSOP8-Jun-10 10:04 
AnswerRe: windows application Pin
LookSharp9-Jun-10 3:54
LookSharp9-Jun-10 3:54 
GeneralRe: windows application Pin
jashimu9-Jun-10 7:56
jashimu9-Jun-10 7:56 
QuestionLINQ DataContext and IDisposable Pin
Member 39190498-Jun-10 7:01
Member 39190498-Jun-10 7:01 
AnswerRe: LINQ DataContext and IDisposable Pin
Pete O'Hanlon8-Jun-10 10:01
mvePete O'Hanlon8-Jun-10 10:01 
QuestionIndexer Question Pin
David Knechtges8-Jun-10 5:54
David Knechtges8-Jun-10 5:54 

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.