title: How do I resize a UserControl to fit in a container in a windows form?
body: <p>I am trying to fit a user control into a panel in another form. I have tried docking and auto size but nothing seems to work.</p>
  
  <p><a href="https://i.stack.imgur.com/1D5Bz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1D5Bz.png" alt="Main Form"></a></p>
  
  <p>I am trying to fit this into the above panel, but its hiding the buttons. How to resize it so it will scale to the panel size?</p>
  
  <p><a href="https://i.stack.imgur.com/z55aV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z55aV.png" alt="UserControl.cs"></a></p>