private void btnrevision_Click(object sender, EventArgs e)
        {
            if (mecomentarioaprobacion.Text != "" && lueautorizacion.EditValue != null)
            {
                DialogResult enviarrevision = MessageBox.Show("ESCALAR ENVÍO A UN SUPERVISOR", "¿DESEA ESCALAR LA APROBACIÓN DE ESTE ENVÍO A UN SUPERVISOR?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                if (enviarrevision == DialogResult.Yes)
                {
                    bool aprobado_ok = false;;
                    if (int.Parse(lueautorizacion.EditValue.ToString()) == 0)
                    {
                        aprobado_ok = false;
                    }
                    else if (int.Parse(lueautorizacion.EditValue.ToString()) == 1)
                    {
                        aprobado_ok = true;
                    }

                    (from a in db.tbl_auditoria_ventas
                     where a.id_venta_enc == id_venta_enc
                     select a).ToList().ForEach(a => { a.comentarios_auditor = mecomentarioaprobacion.Text; a.id_estatus_auditoria = 2; a.autorizado_ok = aprobado_ok; a.fecha_escala = DateTime.Now; });
                    tbl_auditoria_ventas.Update(db);
                    pendientes.recargar();
                    this.Close();

                    MessageBox.Show("EL ENVÍO SE HA ESCALADO A UN SUPERVISOR.");
                }
            }
            else
            {
                MessageBox.Show("ES NECESARIO QUE INGRESE UN COMENTARIO PARA CONTINUAR.");
            }
        }