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
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
. . .
Form2 newForm = new Form2();
newForm.Show();
//or newForm.ShowDialog();
...