2
Answers

Update nested layer using loop #Challenge

Photo of Gautam Parmar

Gautam Parmar

7y
180
1
There is Master Part 1 and to create it two raw materials are required
M1 - 500 Rs.
M2 - 750 Rs.
 
If we change the price of raw materials of M1 500 Rs to 600 Rs. so the cost of master part 1 is now 1350.
 
And in a hierarchy, as you can see to create Master part 2 as a raw material used as master part 1 - so that price of master part 2 will also get affected.
 
and to create Master part 6 as raw material Master part 2 is used to it will also get affect and it is so on an nth number it is not defined how much deep it could be.
It suppose to update all price of raw material which is in hierarchy
 

Answers (2)

0
Photo of Sam Hobbs
NA 28.7k 1.3m 13y
0
Photo of Frogleg
NA 7.9k 33k 13y

Attachment new cards.zip

Here is a project that contains a dll with card images and info (userCards.dll)
In the project, I have shown how to deal by random
You will need a picturebox to display card images