How do I spawn several forms each as if they're their own application (can have their own modal form

N

Nihimon

I want to open two forms, Form1 and Form2, from my MainForm in such a
way that Form2 can then open Form3 with ShowDialog and NOT have Form3
block access to Form1 or the MainForm.

Any ideas?
 
C

Cerebrus

Hi Nihimon,

What do you mean by "...NOT have Form3 block access to Form1 or the
MainForm."

Regards,

Cerebrus.
 
N

Nihimon

I have looked at Application.Run extensively but I'm not seeing any
real clear documentation on how/whether to use it multiple times in a
single application.

Is it reasonable to, for each "system" that I want to open, spawn a new
thread and inside of that thread call Application.Run?
 
N

Nihimon

Consider a simple windows application that has a MainForm with two
buttons on it.

Button1 should open Form1 and Button2 should open Form2.

Form1 will then open Form1A with ShowDialog.

When that happens, I want to have opened Form1 and Form2 from the
MainForm in such a way that the *only* form that Form1A blocks is
Form1. The user should be able to select the MainForm or Form2 and
work normally, even while Form1A is opened modally blocking access to
Form1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top