Advertisement
calfred2808

VB.net Make Center Of any Objects

Jun 18th, 2022
1,665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.13 KB | None | 0 0
  1. Public Sub MakeCenter()
  2. 'Panel1.Location = New Point((Me.Width - Panel1.Width) \ 2, (Me.Height - Panel1.Height) \ 2)
  3.  
  4.  
  5. end sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement