I have phone and email textboxes on a Windows Form that I want to validate when the user leaves the fields.
When I double click the textbox in Visual Studio form des
The Validating event was designed to do this. Set e.Cancel = true if you're not happy with the input. The ErrorProvider component is ideal to provide visual feedback.