I have a section in a FormView in which I draw different groups of controls depending on the situation. I have to programaticlly adjust each control

I was thinking of leveraging the resource graphical editor to position the controls.

I need a function that would take a dialog template file and just draw the controls. I will add the programing code manually.

Any suggestions?