Eng.Yahia Galal Abuo Hamila
Learn And Learn And Learn..els
Friday, March 21, 2014
allow textbox accept only Number c# Windows Application
//allow digits only
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar != '.')
{
e.Handled = true;
}
1 comment:
Unknown
May 5, 2014 at 6:55 AM
in Event Key Press
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
in Event Key Press
ReplyDelete