title: How to run a C# winform in an XNA C# project
body: <p>I am trying to use the PDFsharp library in an XNA game.  The example code I am trying to get to work is:</p>
  
  <pre><code> static void Main() 
      {
        Renderer renderer = new Renderer();
        PreviewForm form = new PreviewForm();
        form.RenderEvent = new PagePreview.RenderEvent(renderer.Render);
        Application.Run(form);
      }
  </code></pre>
  
  <p>But I don't know how to get this to run in XNA.</p>
  
  <p>Is it possible to pass the graphics that are passed to the winform to the XNA graphics engine instead?</p>