title: Fixed Panel Height in a SplitContainer
body: <p>I have a WinForm containing a bindingNavigator at the top and a splitContainer with two horisontal panels below it. The splitContainer fills the space not occupied by the bindingNavigator.</p>
  
  <p><em>I would like to set the bottom panel to a fixed height of, say 100 pixels, and have the top panel fill the rest of the space.</em></p>
  
  <p>This is my current code:</p>
  
  <pre><code>kundeteamSplitContainer.SplitterDistance = kundeteamSplitContainer.Height - 100;
  </code></pre>
  
  <p>I would have thought that this would set the splitter distance dynamically to 100 pixels less than the total height at all times, making the bottom panel occupy the remaining 100 pixels. This does not work as intended though as the bottom panel keeps changing size when I re-size the form at run-time.</p>
  
  <p>EDIT: I am sticking with the splitContainer if at all possible. Got a bunch of functionality related to hiding/showing the bottom panel already implemented and I don't want to do that work again.</p>