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
Try a MaskedTextBox. It takes a simple mask format so you can limit the input to numbers or dates or whatever.