'Setting Windows from Properties Programmatically
Public Class frmWindowsProperties
Private Sub frmWindowsProperties_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.BackColor = Color.AliceBlue
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedSingle
Me.Size = New Size(400, 400)
Me.StartPosition = FormStartPosition.CenterScreen
Me.MinimizeBox = False
End Sub
End Class