Hi everyone!
I have a program in C#, which doesn't resize and adjust the contents of the app-window when I maximize it. I know that in Java, one can use JFrame and this problem is eliminated. Is there an equivalent in C#?
Hi everyone!
I have a program in C#, which doesn't resize and adjust the contents of the app-window when I maximize it. I know that in Java, one can use JFrame and this problem is eliminated. Is there an equivalent in C#?
You use a combination of Docking and Anchors. Look at Control.Dock
and Control.Anchor
(on any button or panel).
If you anchor something then it will grow with the form. Docking changes how the growth behaves. You will want to use panels, groupboxes, or any other container object throughout your form.
You use a combination of Docking and Anchors. Look at
Control.Dock
andControl.Anchor
(on any button or panel).
Thanks sknake (again)!
Have a nice day
You're welcome :)
Please mark this thread as solved if you have found a solution to your quesiton and good luck!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.