What you want to do is basically the same as creating a forms designer like the one in visual studio.
So take a look at
this[
^] and follow the links in the article.
There should be enough there to get you started. When you have written some code and then encounter a problem ask here again showing the code that has the problem and a full description of the problem (error message, incorrect results etc.)