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

C#

 
AnswerRe: software.... Pin
Keith Barrow22-Dec-09 1:13
professionalKeith Barrow22-Dec-09 1:13 
AnswerRe: software.... Pin
Estys22-Dec-09 1:29
Estys22-Dec-09 1:29 
AnswerRe: software.... Pin
Pete O'Hanlon22-Dec-09 1:37
mvePete O'Hanlon22-Dec-09 1:37 
AnswerRe: software.... Pin
hosseinghazanfary22-Dec-09 7:43
hosseinghazanfary22-Dec-09 7:43 
QuestionGetting multimedia projector resolution using c# code Pin
Innayat Ullah22-Dec-09 0:36
Innayat Ullah22-Dec-09 0:36 
Questionhand segmentation in a frame. Pin
Innayat Ullah22-Dec-09 0:31
Innayat Ullah22-Dec-09 0:31 
AnswerRe: hand segmentation in a frame. Pin
Keith Barrow22-Dec-09 1:09
professionalKeith Barrow22-Dec-09 1:09 
QuestionCatch Enter-key when focus on a button Pin
mSh198522-Dec-09 0:10
mSh198522-Dec-09 0:10 
I have some strange problem here, so i was wondering if i could solve it in this way (i know it's not the best way to solve a problem, but i want a quick and dirty solution at the moment)

Let's say i have a button, with the focus on it. When i press the button a messagebox is shown. I only want the messagebox to be shown when i press the button with my mouse.
When i press enter i don't want the messagebox to be shown.

So i tried handling the keypress method and set the eventargs e.handled=true. But no effect, it doesn't even get inside the keypress method when pressing enter...

I know it's a strange question, but anyone have any ideas?
Thanks in advance.
AnswerRe: Catch Enter-key when focus on a button PinPopular
mSh198522-Dec-09 1:27
mSh198522-Dec-09 1:27 
AnswerRe: Catch Enter-key when focus on a button Pin
Islorvat22-Dec-09 9:17
Islorvat22-Dec-09 9:17 
AnswerRe: Catch Enter-key when focus on a button Pin
Md. Marufuzzaman22-Dec-09 10:20
professionalMd. Marufuzzaman22-Dec-09 10:20 
QuestionOne database Connection [modified] Pin
Shivendra Pandey21-Dec-09 23:41
Shivendra Pandey21-Dec-09 23:41 
AnswerRe: One database Connection Pin
Saksida Bojan21-Dec-09 23:49
Saksida Bojan21-Dec-09 23:49 
AnswerRe: One database Connection Pin
Ashfield22-Dec-09 0:26
Ashfield22-Dec-09 0:26 
AnswerRe: One database Connection Pin
Paulo Zemek22-Dec-09 1:53
Paulo Zemek22-Dec-09 1:53 
AnswerRe: One database Connection Pin
hosseinghazanfary22-Dec-09 7:38
hosseinghazanfary22-Dec-09 7:38 
QuestionDatagridviewcomboboxcell value is not valid Pin
kvsrikanth21-Dec-09 23:22
kvsrikanth21-Dec-09 23:22 
AnswerRe: Datagridviewcomboboxcell value is not valid Pin
Blue_Boy21-Dec-09 23:31
Blue_Boy21-Dec-09 23:31 
Questionissue with Date Format in SSRS Pin
siddisagar21-Dec-09 22:49
siddisagar21-Dec-09 22:49 
AnswerRe: issue with Date Format in SSRS Pin
Saksida Bojan21-Dec-09 23:23
Saksida Bojan21-Dec-09 23:23 
GeneralRe: issue with Date Format in SSRS Pin
Blue_Boy21-Dec-09 23:33
Blue_Boy21-Dec-09 23:33 
GeneralRe: issue with Date Format in SSRS Pin
Saksida Bojan21-Dec-09 23:39
Saksida Bojan21-Dec-09 23:39 
GeneralRe: issue with Date Format in SSRS Pin
Blue_Boy21-Dec-09 23:54
Blue_Boy21-Dec-09 23:54 
QuestionC# Data link to another PC? Pin
miss YY21-Dec-09 22:20
miss YY21-Dec-09 22:20 
AnswerRe: C# Data link to another PC? Pin
Calla21-Dec-09 22:30
Calla21-Dec-09 22:30 

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.