title: Opening a winform from an IronPython shell without blocking the shell or the form
body: <p>I'm starting a winform from an IronPython shell. My form is then calling a script which runs for some hours and writes output to the shell.</p>
  
  <p>While the script is running, the GUI is blocked (I cannot hit any buttons or minimize it).</p>
  
  <p>I tried these approaches:</p>
  
  <ol>
  <li>When I open the form with ShowDialog(), the form stays in front. I cannot put the python shell in front and scroll the written comments. I have to close the form first, but this is not what I want.</li>
  <li>When I open the form with Show(), I can put the python shell in front and I can scroll it, but when I close the python shell (before closing the winform), the winform stays open and is now blocked; I can only kill it using the Task Manager.</li>
  </ol>
  
  <p>So, what I want is the situation like in case 2, but when I close my python shell, the winform should be automatically closed too.</p>
  
  <p>After reading some other questions here I thought about starting the form with Show() but setting the Modal property to true, but when I try to do this from the shell it says the property is private. I created the form in Visual Studio, so is it maybe possible to set the Modal property there somewhere?</p>