Adding a new windows form from my own custom wizard

Hi everyone!

Im making my own custom wizard, what Ive done so far is the form where I ask the user for all the parameters I need to automatically create a new windows form, that is working pretty fine, the next step is to add the code to actually create the new windows form, that is what I dont know how to do... Besides this I want the user being able to edit the new form (in the designer) the same way he would do it with any regular form...

Does anyone know what classes I have to deal with in order to acomplish all this

Gustavo Salazar González


Answer this question

Adding a new windows form from my own custom wizard

  • Kerry Wano

    http://www.divil.co.uk/net/download.aspx product=5&license=4

    Here is a nice framework Easy to use...



  • Frango

    If I understand correctly you want to create the code for a Form. If so you will need to look at CodeDom/CodeCompileUnit classes and a CodeDom provider (this could be CSharp provider/VB provider/etc).

    Thanks,
    -Dinesh Chandnani

  • Adding a new windows form from my own custom wizard