请教:怎样才能使SplitContainer.Panel2中的子窗体在打开时是都是居中显示的?
请问下在MDI父窗口中怎样才能使SplitContainer.Panel2中的子窗体在打开时是都是居中显示的? 谢谢!
Dim Form1 As New Form1
Form1.MdiParent = Me '将Form1设为MDI子窗体
Form1.StartPosition = FormStartPosition.CenterScreen'居中显示不行?
SplitContainer1.Panel2.Controls.Add(Form1) '将form1加入到Panel2中
Form1.Show()