Exemplo n.º 1
0
 private void tbEmail_Leave(object sender, EventArgs e)
 {
     if (!Ultilities.IsValidEmail(tbEmail.Text.Trim()))
     {
         lbEmailError.Visible = true;
         tbEmail.Focus();
     }
 }