0

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#?

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by sknake
0

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.

0

You use a combination of Docking and Anchors. Look at Control.Dock and Control.Anchor (on any button or panel).

Thanks sknake (again)!

Have a nice day

0

You're welcome :)

Please mark this thread as solved if you have found a solution to your quesiton and good luck!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.