resize form programmatically c# code example
Example: how to set location and size of new from vb
Me.Location = New Point((firstForm.Width - Me.Width) / 2, (firstForm.Height - Me.Height) / 2)
Me.Location = New Point((firstForm.Width - Me.Width) / 2, (firstForm.Height - Me.Height) / 2)