can i use ismdicontainer and .showdialog for my form at the same time? i have a main menu that when i open a new form it pops inside of it. but i want to use .showdialog so that only the form open are the ones being used and the forms behind that cannot be clicked. thanks

Recommended Answers

All 2 Replies

>can i use ismdicontainer and .showdialog for my form at the same time?

No.

this is a little different, but you could use say:

visible = false;
Form2 Form = new Form2();
Form.ShowDialog();

this will cause your first form to not be visible, and bring up your second form. Hope it helps you!

Jamesonh20

Be a part of the DaniWeb community

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