Public Class Form1 Private Sub MoveToCenter() '現在のデスクトップを取得(マルチモニタの場合は、フォームの位置に応じた画面) Dim r As Rectangle = Screen.FromRectangle(Me.DesktopBounds).WorkingArea '中央に配置 Dim s As Size = r.Size - Me.Size Me.SetDesktopLocation(r.Left + s.Width \ 2, r.Top + s.Height \ 2) End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click MoveToCenter() End Sub Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load Button1.Text = "中央に配置" '画面解像度が変更された場合に、自動的に位置調整するなら、下記コメントを解除。 'AddHandler Microsoft.Win32.SystemEvents.DisplaySettingsChanged, AddressOf Button1_Click End Sub Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing 'RemoveHandler Microsoft.Win32.SystemEvents.DisplaySettingsChanged, AddressOf Button1_Click End Sub End Class