4dots Software
CODE HELP BLOG
mycontrol.Left=mycontrol.Parent.Width/2-mycontrol.Width/2;
To center vertically any control on the form or on its parent control you can use the following :
mycontrol.Top=mycontrol.Parent.Height/2-mycontrol.Height/2;