C#. How to stretch the Form1 to the entire client screen?

Hello! Please help solve the problem. You want to stretch the Form1 on full screen.
public Form1()
 this.FormBorderStyle = FormBorderStyle.None;
 this.WindowState = System.Windows.Forms.FormWindowState.Maximized;

So, of course, and it goes to full screen like, BUT! On the same screen resolution I have all the components placed on the form, on the other they crawl over the edge of the form. How to cope with this problem?
P. S. In essence the question boils down to How the elements proportionally changed in size, remaining in their places, at different screen resolutions?
June 10th 19 at 15:33
1 answer
June 10th 19 at 15:35
In the settings there is an "anchor", set them correctly and you will be happy
Thank you for your response! I understand we are talking about the containers and the Anchor property? - Estel45 commented on June 10th 19 at 15:38
have form elements have anchors (anchors) that allow you to fix the element relative to the other. View the column properties. - lyric16 commented on June 10th 19 at 15:41

Find more questions by tags Visual C#