Special properties of Windows Form class in VB.Net

By James J

Code for some special properties of form

> A Form without Titlebar...

Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None


> Make form as topmost...

Me.TopMost = True


> Set form location as your desktop location...

Me.DesktopLocation = New Point(100, 100)

> Set the form size...


Me.Size = New Size(500, 500)

> Make Form as transparent...


Me.Opacity = 0.88


Special properties of Windows Form class in VB.Net  (1242 Views)