title: how to get IWin32Window of form using reflection
body: <p>I have a windows form that I am displaying as non-modal dialog. As a result I am calling the overloaded Show(IWin32Window owner) method on that form. Only problem is that one of the parent forms that I want to use here is not accessible in the project. As a result I want to load it using reflection using something like code below.</p>
  
  <pre><code>var frm = Assembly.GetEntryAssembly().GetTypes().Where(f =&gt; f.Name == "ParentForm").FirstOrDefault();
  </code></pre>
  
  <p>However this give following compilation errors.</p>
  
  <p>The best overloaded method match for </p>
  
  <blockquote>
    <p>'System.Windows.Forms.Form.Show(System.Windows.Forms.IWin32Window)'
    has some invalid arguments</p>
    
    <p>Argument 1: cannot convert from 'System.Type' to
    'System.Windows.Forms.IWin32Window'</p>
  </blockquote>
  
  <p>Any suggestions on how to achieve this?</p>