A1VBCode Forums

how can user add form in C#.net.please you send me coding of user add form in c#.net?


http://www.a1vbcode.com/vbforums/Topic23064.aspx

By alishabbir - 9/18/2007

salam sir;

              how can user add form in C#.net.please you send me coding of user add form in c#.net?

           thanks sir

By my4colour - 9/19/2007

Hi,It is very simple.

If you want to add form dynamically, the code is...

Form frm1 = new Form();

frm1.Show();

If you want to add form at design time then,

Go to Solution Explorer Window, right click on your solution and click on "Add" and then Select "New Item". It will show you the list that you can add in your solution.Smile

-my4color.