title: Docking multiple controls - one fills remaining space
body: <p>I'm trying to dock N number of controls in a container. I want them all to fill the entire width, but stack.  I want one particular control (currently the last one) to fill the remaining space, while all others have fixed sizes.</p>
  
  <p>This:</p>
  
  <pre><code>Button b1 = new Button() { Text = "Button 1", Dock = DockStyle.Top };
  Button b2 = new Button() { Text = "Button 2", Dock = DockStyle.Top };
  Button b3 = new Button() { Text = "Button 3", Dock = DockStyle.Fill };
  
  Controls.Add(b1);
  Controls.Add(b2);
  Controls.Add(b3);
  </code></pre>
  
  <p>Produces this:</p>
  
  <p><img src="https://i.stack.imgur.com/FcWuD.png" alt="Button 3 filling entire parent"></p>
  
  <p>As you can see, Button 3 is doing exactly what I told it to: <code>Fill</code> the parent.  But that's not what I <em>want</em> it to do.  Aside from manually placing, and handling resize events, etc. how can I make Button 3 fill the remaining space?</p>
  
  <p>Note: I am <em>not</em> using the designer.</p>