Tag Archives: size form

Set form client size in C#

This example shows how to use the ClientSize property to set form client size. Many programmers know that a form’s ClientSize property gives the size of the area inside the form’s borders, but few know that you can set ClientSize. … Continue reading

Posted in controls, forms | Tagged , , , , , , , , , | Leave a comment

Size forms to fit their contents in C#

This example shows how to size forms to fit their contents. Figuring out how to size forms can be tricky, particularly if a form contains a MenuStrip with LayoutStyle = Flow so the MenuStrip may hold more than one row … Continue reading

Posted in controls, forms | Tagged , , , , , , , , , | Leave a comment