Dim xx, yy As Integer xx = Custinfo.Width - Panel7.Width yy = Custinfo.Height - Panel7.Height Panel7.Location = New System.Drawing.Point(CInt(xx / 2), CInt(yy / 2)) Panel7.Visible = True
Panel1.Location=New Point((Me.Width/2)-(Panel1.Width/2),(Me.Height/2)-(Panel1.Height/2))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)