Heat the pan on low heat and add ghee to the pan.
As the ghee melts add the milk and let them come to warmth.
Add the milk powder to this mix and make a smooth paste.
Cook down the milkpowder mix to thicken a bit.
As the mixture mixes and thickens, it will start leaving the sides and forming a soft dough like consistency.
Add the sugar and cardamom powder at this stage, this loosens the mix with the melting sugar.
Thicken the mix again on low heat.
As the mixture starts moving with the ladle, take a small bit and see it if rolls into a smooth ball.
At this stage remove from the heat and transfer it into a prepared plate or bowl.
Sprinkle the melon seeds and press it down gently.
Smooth the surface of the mix so as to get about a 2cm thickness.
Set aside for 15 to 30 minutes and let it cool.
Using a greased knife cut into squares or diamonds.
With the help of a flat ladle, remove the pieces and place them in a flat box.
Serve the doodh barfi at room temperature.