Home > Net >  Rookie question: c # winform how to maximize the control over the size of the form and get bigger, a
Rookie question: c # winform how to maximize the control over the size of the form and get bigger, a

Time:10-07

This is running form, the size of two panel on the left, I have set all the anchor attribute controls become left right bottom top


But after the operation of the form to maximize, the size and location of the various controls or strange, even the status bar on the bottom of the missing,,

Great god give advice or comments please, thank!

CodePudding user response:

The Dock property is set to fill

CodePudding user response:

Remove the right on the left side of the two

CodePudding user response:

A dock properties

CodePudding user response:

Using the TableLayoutPanel
https://docs.microsoft.com/zh-cn/dotnet/framework/winforms/controls/tablelayoutpanel-control-overview

CodePudding user response:

To summarize is to use TableLayoutPanel layout, and then set the Dock properties of the controls for the fill

CodePudding user response:

Cannot set the anchor all left right bottom to top

CodePudding user response:

reference 1st floor paniclp response:
Dock property is set to the fill

Which attributes of the dock, all controls

CodePudding user response:

refer to 6th floor ManBOyyy response:
can't set the anchor all left right bottom top

That could you tell me how to set up should be
  •  Tags:  
  • C#
  • Related