Click here to Skip to main content
15,885,537 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# for beginners Pin
Richard MacCutchan21-Dec-09 6:06
mveRichard MacCutchan21-Dec-09 6:06 
AnswerRe: C# for beginners Pin
V.21-Dec-09 20:38
professionalV.21-Dec-09 20:38 
AnswerRe: C# for beginners Pin
Rob Philpott21-Dec-09 21:57
Rob Philpott21-Dec-09 21:57 
QuestionSelect a perticular value in combo box Pin
NarVish21-Dec-09 5:05
NarVish21-Dec-09 5:05 
AnswerRe: Select a perticular value in combo box Pin
dbrenth21-Dec-09 7:51
dbrenth21-Dec-09 7:51 
QuestionHow can i make shortcut keys by using code Pin
inayat basha21-Dec-09 4:49
inayat basha21-Dec-09 4:49 
AnswerRe: How can i make shortcut keys by using code [modified] Pin
robbrad21-Dec-09 5:14
robbrad21-Dec-09 5:14 
AnswerRe: How can i make shortcut keys by using code Pin
Luc Pattyn21-Dec-09 5:32
sitebuilderLuc Pattyn21-Dec-09 5:32 
Hi,

there are two ways:

1.
the easy one: give your Form a MainMenu or MenuStrip and make sure the actions you want are present in the menus; all it takes to create shortcuts is setting their corresponding ShortCut property.

2.
the harder way (also for the user as he has no clue what shortcuts are available): let your Form preview the keyboard (Form.KeyPreview) and give it a KeyDown handler. No need to process the keys for each individual Control on the form!

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionUpdate web.config at run time [modified] Pin
treuveni21-Dec-09 4:13
treuveni21-Dec-09 4:13 
AnswerRe: Update web.config at run time Pin
treuveni21-Dec-09 20:51
treuveni21-Dec-09 20:51 
QuestionText Cahnging Whith BarCode Reader in TextBox C# Pin
Thaer Hamael21-Dec-09 2:09
Thaer Hamael21-Dec-09 2:09 
GeneralRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
Md. Marufuzzaman21-Dec-09 3:06
professionalMd. Marufuzzaman21-Dec-09 3:06 
AnswerRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
Keith Barrow21-Dec-09 3:09
professionalKeith Barrow21-Dec-09 3:09 
AnswerRe: Text Cahnging Whith BarCode Reader in TextBox C# Pin
DJ Matthews21-Dec-09 3:40
DJ Matthews21-Dec-09 3:40 
QuestionSocket Error: A non-blocking socket operation could not be completed immediately Pin
Harvey Saayman21-Dec-09 1:52
Harvey Saayman21-Dec-09 1:52 
QuestionHow to get Modified Registry value old information Pin
Member 437062521-Dec-09 1:18
Member 437062521-Dec-09 1:18 
AnswerRe: How to get Modified Registry value old information Pin
Dave Kreskowiak21-Dec-09 3:34
mveDave Kreskowiak21-Dec-09 3:34 
GeneralRe: How to get Modified Registry value old information Pin
Member 437062521-Dec-09 6:52
Member 437062521-Dec-09 6:52 
GeneralRe: How to get Modified Registry value old information Pin
Dave Kreskowiak21-Dec-09 8:08
mveDave Kreskowiak21-Dec-09 8:08 
Questionlist of structs Pin
benams20-Dec-09 23:18
benams20-Dec-09 23:18 
AnswerRe: list of structs Pin
Keith Barrow20-Dec-09 23:50
professionalKeith Barrow20-Dec-09 23:50 
QuestionSystem.Security.Cryptography RNGCryptoServiceProvider Pin
3bood.ghzawi20-Dec-09 22:45
3bood.ghzawi20-Dec-09 22:45 
AnswerRe: System.Security.Cryptography RNGCryptoServiceProvider Pin
Keith Barrow20-Dec-09 23:42
professionalKeith Barrow20-Dec-09 23:42 
QuestionDynamic grid in a dll Pin
billy_iii20-Dec-09 21:46
billy_iii20-Dec-09 21:46 
AnswerRe: Dynamic grid in a dll Pin
Saksida Bojan21-Dec-09 7:50
Saksida Bojan21-Dec-09 7:50 

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.