Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click ' フォームを最大化する Me.WindowState = FormWindowState.Maximized End Sub Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click ' フォームを最小化する Me.WindowState = FormWindowState.Minimized End Sub