title: Putting VB.NET Controls in center of a sizable window
body: <p>I'm creating a program in VB.NET (Microsoft's Visual Basic 2010).<br>
  I want to know if I can put all my content in the center of the screen. At the moment it's at the far top-left of the screen.<br>
  When the window size varies I want it to stay in the middle for all shapes and sizes. A similar example using HTML and CSS to achieve the above:</p>
  
  <pre><code>&lt;div style="margin: 0 auto; width: 500px;"&gt;&lt;/div&gt;
  </code></pre>