Hey all,
Maybe someone here can give me some suggestions, I am trying to design a dynamic class editor that builds itself at runtime and will automatically reflect any changes or new variables added or removed from a class without having to tweak the editor code.

A buddy of mine has done this in a Java enviroment for a project of his and I really would like to do it for my projects. He has added in textboxes and labels in his constructors and builds a form dynamically at runtime.

So I am trying to get some ideas on a good way to do this. I have been thinking about making the editor load the class, then loop through each property in the class and create and bind the controls to the class properties, then line the labels/textboxes in a linear fashion down a scrollable form??

I'm not sure if there is a better way to do this, I'm hoping maybe someone has done something simular and would like to share their knowledge..

thanks..

Hinder