title: How to change control's size and add new control while form is minimized
body: <p>I have a windows form that has 2 panels inside it, one takes up left half of the form, one right. Now when a certain event occurs in my program (I receive a message from server for example), I want to add a new control (say a third panel) between the two existing, so I need to make make them smaller and move them to the sides of my form. </p>
  
  <p>This can happen while the form is minimized and this is where my problem is. Panels <code>Size</code> returns [0,0] when the form is minimized so I cant use it for calculations.</p>
  
  <p>So my first question is, how can I get "original" size of controls while the form is minimized?</p>
  
  <p>And then, even if I somehow calculated the new <code>Size</code> (say I have 400px wide form with 2x 200px panels and I want the new 3rd panel to be 200px wide, so the old panels will become 100px wide), and applied it:</p>
  
  <pre><code>leftPanel.Size = new Size(100, 100);
  </code></pre>
  
  <p>then after the form is restored from minimized state to normal state, the panel will be way bigger than specified 100x100. Seems like it will restore to the forms <code>ClientSize + the newly specified size</code></p>
  
  <p>Therefore my question: how can I add and resize controls to form while the form is minimized?</p>