You can use the KeyDown event to validate the key presses or the Change event to
validate the entire content.