Results 1 to 3 of 3

Thread: Size of .NET Form

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    321

    Size of .NET Form

    Hi All

    Im new to .Net techonology. Im currently using Visual Studios for VB.NET.

    My question is this

    1) If im building an application then I would want to fit all my buttons, text boxes, combo boxes onto the user screen. So could you tell me the size I need to make my Form in the properties section (as the forms current property size is (300, 300), in order that fit the full size of the screen.

    2) How can the application maximise on Load?

    Thanks

  2. #2
    Frenzied Member stateofidleness's Avatar
    Join Date
    Jan 2009
    Posts
    1,780

    Re: Size of .NET Form

    Well, with about 10 seconds of your time, you could have read each available property of your form and seen the WindowState property which would allow the application to launch maximized when ran.

    The other question pertaining to height and width are more complex than you may think. Not everyone has the same screen size and resolution. This is where good form UI design comes into play. You will want to become familiar with the anchor and dock properties as well. I usually set mine to be about 800x600 in Designer, but again this number is a personal preference. With these smaller netbooks and such on the market, there are many more resolutions to account for. 800x600 may be too big for these. It really depends on your application's purpose and complexity.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2008
    Posts
    321

    Re: Size of .NET Form

    Many Thanks

    Thats a Great Help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width