我是一个问题,一个问题延伸超出用户控件的背景。我把它固定在底部,左,右边。我可以手动设置大小以使其保持界限,但失去了重新调整的能力。

我希望将轨道栏扩展,重新调整表单。这是Win-Fla身材的标准轨道控制。我已经包括下面的图片。有问题的曲目栏就在鸟类下方。它有点难看,但轨道条延伸到窗口范围之外。

有帮助吗?

解决方案

Hmm, yeah you wouldn't want it going to the birds.

Use the Anchor and Dock properties of the control to adhere it to the edges of your container form.

You can either set them at design time in the Properties Window, or via code that you place in your form's constructor method.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top