コード例 #1
0
 private void txtCUITd_Leave(object sender, EventArgs e)
 {
     if ((!(txtCUITd.Text == "  -        -")) && (!Funciones.CuiltValido(txtCUITd.Text)))
     {
         MessageBox.Show("Por favor ingrese un CUIT/L válido.", "Gestión - Remito", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         txtCUITd.Text = "";
     }
 }
コード例 #2
0
 private void txtCUIL_Leave(object sender, EventArgs e)
 {
     if ((txtCUIL.Text != "  -        -") && (!Funciones.CuiltValido(txtCUIL.Text)))
     {
         MessageBox.Show("El Cuil ingresado no es valido.", "Gestión - Modificar Cliente", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         txtCUIL.Clear();
     }
 }