Esempio n. 1
0
        private void modificarPrecios()
        {
            TomarProductos tomarP = StaticsFunctions.tomarProdsModificarPrecio();

            modificarProductosListaPrecio(tomarP);
            if (prs != null)
            {
                for (int i = 0; i < prs.Count; i++)
                {
                    for (int j = 0; j < tomarP.productos.Count; j++)
                    {
                        if (tomarP.productos.ElementAt(j).id == prs.ElementAt(i).id)
                        {
                            prs.ElementAt(i).precio = tomarP.productos.ElementAt(j).precio;
                        }
                    }
                }
            }
        }