dim f = Forms("窗口1")f.Open
Dim x As Integer = (SysInfo.WorkingAreaWidth - f.width) / 2Dim y as integer = (SysInfo.WorkingAreaHeight - f.height) / 2
f.baseform.left = xf.baseform.top = y