Click here to Skip to main content
15,914,447 members

Articles by endozs (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.00

Programming Languages
C#
21 Sep 2011   Updated: 2 Oct 2011   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 13,973     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
You could always run the TryParse on the keyDown event so as to validate as the data gets entered. It saves the user an additional UI interaction. private void textBox1_KeyDown(object sender, KeyEventArgs e) { int i; string s = string.Empty; ...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Systems Engineer Stratco
Australia Australia
This member doesn't quite have enough reputation to be able to display their biography and homepage.