none
source code to generate form RRS feed

  • Question

  • I'm creating window form application.

    I need to generate multi type of form as per my requirement using  method that depend upon user input.

    I need source code to generate form

    Saturday, March 31, 2018 5:38 PM

All replies

  • var x = new Form();
    x.Show();


    Success
    Cor


    Saturday, March 31, 2018 6:39 PM
  • I am not sure I understand what you need to do.

    You can generate a Windows Forms application and then the generated {form}.Designer.cs file has the InitializeComponent method that creates the form. You can add controls in the designer if there are controls that will always be needed. If you must generate the form entirely then you can use code in most any Designer.cs file to help you with that.

    Otherwise I don't know what you need.



    Sam Hobbs
    SimpleSamples.Info

    • Proposed as answer by Ashidacchi Saturday, March 31, 2018 9:01 PM
    Saturday, March 31, 2018 8:24 PM