title: In PowerShell Form.Show() does not work right, but Form.ShowDialog() does
body: <p>I am trying to display an image via powershell. I made a <a href="https://gist.github.com/969855" rel="noreferrer">script</a> based on <a href="http://www.vistax64.com/powershell/202216-display-image-powershell.html" rel="noreferrer">this forum post</a>.</p>
  
  <p>If I use <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.form.showdialog.aspx" rel="noreferrer">ShowDialog()</a> it works fine, except the powershell execution stops while the dialog is up. However, that is by design for a modal dialog. If I call <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.form.show.aspx" rel="noreferrer">Form.Show()</a> in PowershellISE the form shows up, but freezes and cannot be moved or dismissed. Behavior is similar if I copy and past the code to a powershell console.</p>
  
  <p>How do I make the dialog non-modal, and not freeze.</p>