代码
Dim obj As object = Forms("窗口1").Panel.Parent.Parentobj.Alignment = Windows.Forms.TabAlignment.Top