Home > Net >  When bosses, winform design button coordinates as a button. The location (x, y) after input the actu
When bosses, winform design button coordinates as a button. The location (x, y) after input the actu

Time:11-15

Are design diagram, the coordinates of the code, programs run button position, run time I don't have to resize the form,,,

CodePudding user response:

A year later, I also encountered such a problem, could you tell me how to solve the original poster later, I also am design center, the result is the partial right

CodePudding user response:

When designing the coordinates of the Settings in the InitializeComponent () method, you change the Form_Load is equivalent to the original coordinates,

CodePudding user response:

Every Windows desktop instance configuration may be different, a casual changes "theme", for example, Windows will be displayed in the form of different, do you think the rule does not exist, to layout, two buttons, for example, should be in a control layout (such as a Panel), and to align, percentage, and so on "relative" responsive way to layout, don't assume that Windows is dead,

CodePudding user response:

Even if everything is the same, for example just because the version of Windows is different, so show it is the same, to set up the layout have to at least a description of the rules, such as you describe "center" has the ability of reactive, rather than what was more,
  •  Tags:  
  • C#
  • Related