tags:

views:

55

answers:

1

Hi,

I have a winforms project and I need to open another form on the click of a button on the main form (Form1).

What is the c# to do this?

Thanks

+7  A: 

. . .

Form2 newForm = new Form2();
newForm.Show();
//or newForm.ShowDialog();

...

Binary Worrier
Yep. That's as simple as it gets. =)
Jerry