你现在form的SizeChanged事件里处理usercontrol的宽度和高度,这个时候因为usercontrol的宽度和高度变了,就会触发usercontrol的SizeChanged事件,你就可以在SizeChanged事件中根据usercontrol新的宽度、高度和你的布局分配空间。