public void ActualizarEncargado()
 {
     try
     {
         if (dbConn.PAActualizarEncargado(txtIdentidad.Text, txtprimerNombre.Text, txtsegundoNombre.Text, txtprimerApellido.Text, txtsegundoApellido.Text, txtCorreoElectronico.Text, txtprimerTelefono.Text, txtsegundoTelefono.Text, txtDireccion.Text))
         {
             message.lblCheck.Text = "ENCARGADO ACTUALIZADO";
             message.ShowDialog();
         }
         else
         {
             messageError.lblError.Text = "ERROR AL ACTUALIZAR";
             messageError.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }