The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Validation Using the KeyPress Event in a Windows Application
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Agasaud khanPosted Apr 11, 2014, 2:01 AM
good
Asif KhanPosted Jan 18, 2012, 12:48 AM
good one
Mahamod GodaPosted Nov 10, 2011, 8:32 PM
it is good example
Shilpa KatrePosted Mar 28, 2011, 8:52 AM
Good One
KayleighPosted Feb 24, 2011, 11:38 PM
Pretty useful...looking for your next post!
Sam HobbsPosted Feb 24, 2011, 9:39 PM
I think Microsoft's Windows Forms mislead developers into using code that is not the most object-oriented solutions. I don't know if someone has written an article showing an object-oriented design but if not then I hope someone does. Also, I think the catch block that just is "catch { }" is a bad example for beginners. I wish there was a comment someplace telling beginners not to use a catch block like that.
knightsPosted Feb 24, 2011, 3:58 PM
Good reference.Please spell check the code also to make it more readable. MessageBox.Show("Only Char are allwod"); "allowed" is misspelled in the previous line.Thank you.
Dinesh BeniwalPosted Feb 24, 2011, 4:21 AM
Welcome to the C-sharp corner community.