Пример #1
0
        public void textBox_Email_Validated(object sender, EventArgs e)
        {
            var txt = (TextBox)sender;

            if (ValidacionDatos.ValidarEmail(txt.Text, errorProvider, txt))
            {
                _datosObligatorios = false;
            }
        }
Пример #2
0
 public void textBoxMail_KeyPress(object sender, KeyPressEventArgs e)
 {
     ValidacionDatos.ValidarEmail(sender, e);
 }