I have a windows forms app with a textbox control that I want to only accept integer values. In the past I\'ve done this kind of validation by overloading the KeyPress event
you could use TextChanged/ Keypress event, use a regex to filter on numbers and take some action.