Hi,
I have a winform say Form1.cs that contains contols like textboxes,lables,radio buttons, buttons,rich textbox,combobox,etc. Now I want to create a new form say Form2.cs which should contain the same controls as that of form1. How to achieve this?
Vimal KandasamyPosted Apr 8, 2009, 8:24 AM
Whether Form Creation is dynamic? or as usual add new Form via Project Menu?
if As usual then...
two option
1.Simply copy all the controls from form1 and paste it in form2...[controls contains same property...we can change]
2.in Project->Add Windows Form-> Select Inherited Form
and choose Form1 in the Inheritance Picker...[in this all controls are locked and they will perform same operations like form1]