Beispiel #1
0
 private void txtCNPJEdit_Leave(object sender, EventArgs e)
 {
     if (txtCNPJEdit != null)
     {
         if (ValidacaoCampos.IsCnpj(txtCNPJEdit.Text))
         {
         }
         else
         {
             MessageBox.Show("CNPJ inválido.");
         }
     }
 }