How to make WinForms UserControl fill the size of its container
Try setting the Dock
property to Fill
:
private void ManageUsersControl_Load(object sender, EventArgs e)
{
this.Dock = DockStyle.Fill;
}
I would also set AutoSize
to the default, I believe is False
. See how that works ...