The height property of a window is not set in stone. In your button click event handler you need to add code that updates the window's height:
or whatever your desired height is.
As for the data displayed on the window after expansion, you have 2 options:
1. Once the window is expanded, you could add the components to the form in your code. This works well if you want to display different controls for different scenarios. It does add complexity because you are positioning and sizing controls by trial and error more than anything.
2. You could just design your form in its expanded form and then set the height so that the extra controls are not visible when the form first shows. This is useful if you are always going to have the same controls, but their content will change. That way all you have to do is update content and not dynamically add controls.