title: How to check from a child form if another form is running in it's MDI parent?
body: <p>I have a MDI form. I want to check within a running child of this form if another form is running. Something like:</p>
  
  <pre><code>    if (this.MdiParent.MdiChildren.Contains(MyForm2))
      {
          //Do Stuff
      }
  </code></pre>
  
  <p>Where <code>MyForm2</code> is the name (class name) for the form I am looking for. The compiler says something like "Class name is not valid at this point".</p>
  
  <p>How to do this properly? Please note that I can have multiple instances of "MyForm2" running at that momemnt (Well, with different instance names!)</p>