窗口启动定时期,500毫秒执行一次,代码:
Dim frm As Windows.Forms.Form = BaseMainFormDim x As Integer = frm.left + (frm.Width - e.Form.Width)/ 2Dim y As Integer = frm.Top + (frm.height - e.Form.height)/ 2e.Form.SetBounds(x,y,e.Form.width,e.Form.height)