The easiest solution is to make your form resizable (which is the default). Then they can use the mouse to resize the form however they want. If you want to persist that then when the app shuts down save the current form size to a persisted location like a file in their documents or appdata directory. I'm assuming a main form here but the process remains the same for any form.
let use control width of form
Jordan Halgunseth
1
Reputation point
how do i let user set width and height of form
2 answers
Sort by: Most helpful
-
-
Jiachen Li-MSFT 26,506 Reputation points Microsoft Vendor
2022-11-18T01:35:10.023+00:00 Hi @Jordan Halgunseth ,
You can refer to the following document.
Using Application Settings and User Settings
Using My.Settings Object to save user settings and then load it every time the app starts.
Best Regards.
Jiachen Li----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.