المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Winform Hot Keys



C# Programming
06-13-2009, 01:02 AM
I have 2 questions.

Firt, is there a way to link an arrow key to a button like a normal key? For example, if I put "&Enable" in the text of a button it will set 'e' as a hotkey for that button. I would like something simple like this for an arrow key if it can be done. Or do I have to override the key press?

Second, in VS 2005 when I put "&Enable" in the text of a button the test shows Enable
However, in VS2008 it shows Enable in the developer but when in run mode it shows Enable
Any idea why this is?

"9 Pregnent woman can not have a baby in 1 month" -Uknown