This won’t work for all, you need to desing your application responsive. You need to use panels, groupboxes and objects like these and you need to anchor these objects inside your form, then you need to get user screen resolution and set it for your application.
Summary: this code may works but not not perfect for all resolution. You absoluty need anchoring objects. Desktop application sometimes have good pain with this matter.
3
solved How to fit C# application in every resolution [closed]