Closed Thread
Results 1 to 4 of 4

Thread: Enlarge the window in Winforms

  1. #1
    someone1234 is offline Newbie
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    0

    Enlarge the window in Winforms

    Hello,

    how i can keep the buttons in the winform fixed when i enlarge the window?

    When i enlarge now the window, all the buttons i have in the window are stayed at the same place..to the right of the window.
    But i want that the buttons will be at the center, to keep the Proportion.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    JakeWindu is offline Newbie
    Join Date
    Nov 2009
    Posts
    21
    Rep Power
    0

    Re: Enlarge the window in Winforms

    Try adding a status strip, see if thta works...

  4. #3
    Davide's Avatar
    Davide is offline Programming God
    Join Date
    Dec 2009
    Location
    Manchester, UK
    Posts
    507
    Blog Entries
    8
    Rep Power
    11

    Re: Enlarge the window in Winforms

    Drag a panel to the form.

    Set it's Dock property to Top or Bottom or Fill, or whatever you want.
    Buttons will move along with it.

    I hope James will upload the other parts of my last tutorial, cause i included this in it.
    Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

  5. #4
    someone1234 is offline Newbie
    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    0

    Re: Enlarge the window in Winforms

    OK
    i'll try the options you suggested here.

    thank you all very much!!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Work with many windows in winforms
    By someone1234 in forum C# Programming
    Replies: 4
    Last Post: 01-30-2010, 05:05 AM
  2. .NET Advantage Winforms
    By ahmed in forum C# Programming
    Replies: 0
    Last Post: 12-22-2009, 12:24 AM
  3. Suitable way to program with WinForms
    By sp3tsnaz in forum C# Programming
    Replies: 4
    Last Post: 12-05-2009, 10:14 AM
  4. enlarge image
    By caster89 in forum Java Help
    Replies: 0
    Last Post: 12-02-2007, 03:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

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