I made a program in Windows format in C # with a resolution of 1920 x 1080 and a scale of 100%, but when I open this program on another computer, all the controls fall apart. I want to know if I can do something that did not happen when I run the program on another computer?
You can Dock and Anchor controls and also use FlowLayoutPanel
, TableLayoutPanel
and other types of container controls to Position and layout of controls (Windows Forms .NET).
If you use the techniques described in these links, your controls will resize to fit other window sizes without having to scale anything.