TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
phil67rpg
NA
5
0
keyboard input
Mar 18 2012 12:54 AM
I have tried everything to get this code to work but to no avail,please help
here is the code
p
rivate
void
Form1_KeyPress(
object
sender,
KeyPressEventArgs
e)
{
if
(e.KeyChar ==
'a'
)
{
Application
.Exit();
e.Handled =
}
}
true
;
Reply
Answers (
4
)
Programming Language
Invoking a delegate asynchronously