I need to display cartons as when it is placed in pallets in C# desktop program.
I need to display one by one, after the robo places the carton in pallet. i.e, initally the pallet will be empty. when the robo places first pallet i need to show carton in first positon.

NOTE: No need to show the exact picture. A simple drawing is enough.

similar to this

http://stock-image.mediafocus.com/images/previews/stack-carton-boxes-pallet-isolated-white-am1112087.jpg[^]

How can we do this for different combination 2x3x5, 2x2x2 etc??

You draw a single carton as an hexagon formed of three parallelograms.Two of the sides are vertical.Adjust the lightness of the three faces to mimic the effect of ambiant lighting.You can also draw the six visible edges.Use the Graphics.FillPolygon method follow dapfor. com