Calendar with all months

I want to design a calendar widget which shows all months and not only the current but I don't know how to do it. Can anyone help me?

Here you have tutorials to make a calendar by Brandon Craft, maybe this can help you.

thank u :)