Check out this article: Extending and Displaying Shapes It introduces the basic concepts of rendering a shape. You should also read about dynamic objects (the corresponding MSDN links are inside this article)
I wrote an article about using shapes as helpers that gives some insight into how this all works: Using shapes as HTML helpers in Orchard .
[EDIT]: Today I also wrote an article on setting up a form. Hope this will give you more info.
source share