title: Casting as a form from a window handle
body: <p>My C#.NET Windows application dynamically creates a bunch of forms with no name and no borders, this works fine, however I later need to find these forms and set them to be the top most forms. My current logic is to write the myForm.Handle to a string at the time of creation so I can refer to that handle later.</p>
  
  <p>And this is where it fails, when I'm ready to set it to be the top most windows, I do this:</p>
  
  <pre><code>Form myForm = Form.FromHandle(sFormHandle);
  if (myForm != null) { myForm.TopMost = true; }
  </code></pre>
  
  <p>The <em>sFormHandle</em> is a string and it expects a <em>IntPtr</em>, how can I convert it, or do this in some other way?</p>
  
  <p>Many thanks.</p>