When new a Form, will I get a process or thread?
<p>In C#, I have two Forms: mainForm and form1. </p>

<pre><code>class Form1; //...
class mainForm {
    //...
    void f() {
        Form1 form1 = new Form1();
        ...
    }
}
</code></pre>

<p>I want to wait for the form1 to exit and continue the following work in the mainForm. But I don't know the form1 is implemented as a process or a thread and how to get its ID.</p>

<p>Thanks.</p>
