title: Resize DataGridView width to fit Columns
body: <p>I have a <code>DataGridView</code> that is filled programmatically. The columns are set to auto-resize according to cell content.</p>
  
  <p>The <code>DataGridView</code> will be populated with parts information regarding hydraulic and pneumatic schematics. My form only has a <code>SplitContainer</code>, a <code>PictureBox</code> and the <code>DataGridView</code>. The <code>SplitterDistance</code> is linked to the width of the <code>DataGridView</code>.</p>
  
  <p>The <code>DataGridView</code> will only have a maximum of 6 columns <em>("Index", "Part Number", "Serial Number", "Drawing Number", "Page Number", "Revision Number")</em> and a minimum of 2 columns depending on the schematics requirements. So I want to resize the control accordingly.</p>
  
  <p>How can I get the <code>DataGridView</code> control to resize to the total width of the columns so that the scrollbar doesn't show?</p>