예제 #1
0
 private void txtcodCliente_Leave(object sender, EventArgs e)
 {
     if (enableSalvar())
     {
         btnSalvar.Enabled = true;
     }
     //verifica se cliente inadimplente
     if (txtcodCliente.Text == string.Empty)
     {
         txtNomeCliente.Focus();
     }
     else
     {
         if (db.ClienteInadimplente(Convert.ToInt32(txtcodCliente.Text)) == true)
         {
             u.ClienteInadimplente();
         }
     }
 }