Ultimate Studio
All essential components included
|
| Atp UltimateEmailValidator | |
| Creating a WinForms application | |
| Send comments on this topic to ATP, Inc. | |
| Getting Started > Creating a WinForms application |
Glossary Item Box
This tutorial will walk you through creating a WinForms application and add EmailValidator control to it. It also shows how to:

![]() |
![]() |
| C# | Copy Code |
|---|---|
|
// Create a new instance of the EmailValidator class. EmailValidator validator = new EmailValidator(); // Validate the email. ValidationLevel result = validator.Validate("info@atp-inc.net"); // Show result. MessageBox.Show(string.Format("Email address '{0}' has been validated at level {1}", "info@atp-inc.net", result.ToString())); | |
| VB.NET | Copy Code |
|---|---|
|
' Create a new instance of the EmailValidator class. Dim validator As New EmailValidator() ' Validate the email. Dim result As ValidationLevel = validator.Validate("info@atp-inc.net") ' Show result. MessageBox.Show(String.Format("Email address '{0}' has been validated at level {1}", "info@atp-inc.net", result.ToString())) | |