Beispiel #1
0
 private void txtCpfEdit_Leave(object sender, EventArgs e)
 {
     if (txtCpfEdit != null)
     {
         if (ValidacaoCampos.IsCpf(txtCpfEdit.Text))
         {
         }
         else
         {
             MessageBox.Show("CPF inválido.");
         }
     }
 }