C# – Visual Studio Windows Form Size Problem

cformsvisual studiovisual studio 2010winforms

I'm new to Visual Studio 2010 and I just figured out that the maximum size of the forms that can be created is 1292×812. I need to have many text boxes for the information I needed. However, the size of the form is too small that I can hardly see spaces for other text box. Is there a way to create a form with a scroll bar in it so that even though I have many text boxes it will be access in one form and not to create another form? Please help. Thanks

Best Answer

I think the max size that you're being allowed is related to the size of your desktop area: My VS2010 just allowed me up to 5132x1092 which would roughly tie with my 3 monitors.

You should size the form so that it looks sensible if you resize your desktop to a common res such as 1024x768, otherwise it'll be too big for the screen for some users.

If you've got that much information you should break it down into logical groups, then use Tabs, or SubForms to show the data.

Putting too much info on one form makes it impossible for the user, and results in monster amounts of code behind the form which is hard to maintain.