private bool esValido()
        {
            Negocio.Comisiones oComisiones = new Negocio.Comisiones();
            string errores = "";

            if (tipoOperacion != General.TipoOperacion.Alta)
            {
                if ((txtIdComision.Text == "") || (!oComisiones.ExisteComision(Convert.ToInt32(txtIdComision.Text))))
                {
                    errores += "-Nº de id incorrecto.\n";
                }
            }

            if (txtTurno.Text == "")
            {
                errores += "-El turno no es válido.\n";
            }

            if (!((Utilidades.Validaciones.validarNumero(txtNroComision.Text)) &&
                (txtNroComision.Text.Length == 3)))
            {
                errores += "-El número de comisión no es válido.\n";
            }

            if (errores == "")
            {
                return true;
            }
            else
            {
                MessageBox.Show(errores, "Error");
                return false;
            }
        }
        private void buscarComision()
        {
            Negocio.Comisiones oComisiones = new Negocio.Comisiones();

            if ((txtIdComision.Text != "") && (oComisiones.ExisteComision(Convert.ToInt32(txtIdComision.Text))))
            {
                try
                {
                    Entidades.Comision oComision = oComisiones.RecuperarUno(int.Parse(txtIdComision.Text))[0];
                    txtNroComision.Text = oComision.NroComision.ToString();
                    txtTurno.Text = oComision.Turno;
                    this.id_buscado = txtIdComision.Text;
                }

                finally
                {
                    oComisiones = null;
                }

            }
            else
            {
                MessageBox.Show("IdComision incorrecto", "Error");
            }
        }