I am new to this any help is greatly appreciated.

Recommended Answers

All 4 Replies

Form2 Form2 = new Form2();
Form2.Show();

Can be done by two methods depending on the type of usage
write this code in Form1 control events
Form2 form2object=new Form2();
for2object.Show();
another way is to show as dialog box meaning you can click back to Form1 until Form2 is closed
Form2 form2object=new Form2();
for2object.ShowDialog();

meaning you can click back to Form1 until Form2 is closed

I think it's a typo and you mean just the opposite. There is a distinction between modal and modeless dialogs.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.