Hiding a panel should force controls below to move up and resize the form
<p>OK, this is driving me a bit nuts at this point.  Time to ask the crowd:</p>

<p>I have a form that consists of: two vertical "halves" created by a SplitContainer. Inside the bottom "half" / SplitContainer panel... I have:</p>

<ol>
<li><p>A set of fields/controls for the user to fill out, contained within a panel.</p></li>
<li><p>Below that, a panel containing buttons for "submit", "cancel"...and one that's "show/hide".  This "show/hide" is intended to show/hide the panel I just described in point 1 above.</p></li>
</ol>

<p>What I want to happen is: when the user clicks to "hide" the panel of controls, not only do those controls vanish, but also:</p>

<ul>
<li>The panel containing the submit, cancel and show/hide buttons moves up (so that we don't have this big blank space where the now-hidden panel once was).</li>
<li>The form resizes itself vertically so as to make up for the now-hidden panel and the fact that we've moved the bottom controls upwards.</li>
</ul>

<p>I have no problem getting the panel of controls/fields to show/hide.  But I can't seem to figure out how to accomplish the other two tasks.  I've tried various combinations of <code>AutoSize</code>, <code>AutoSizeMode</code>, and <code>Dock</code> options.</p>

<p>Any suggestions?</p>