Assalamu'alaikum wr wb.
Kali ini saya akan share bagaimana caranya buat form menjadi transparant menurut opacity.
Berikut ini syntaxnya.
_______________________________________
Private Sub CreateMyOpaqueForm()
' Create a new form.
Dim form2 As New Form()
' Set the text displayed in the caption.
form2.Text = "My Form"
' Set the opacity to 75%.
form2.Opacity = 0.75
' Size the form to be 300 pixels in height and width.
form2.Size = New Size(300, 300)
' Display the form in the center of the screen.
form2.StartPosition = FormStartPosition.CenterScreen
' Display the form as a modal dialog box.
form2.ShowDialog()
End Sub
_______________________________________
Semoga bermanfaat.
http://pangeran-it.blogspot.com/
Opacity Form
Reviewed by Syawaluddin Amin, S.Kom
on
Januari 12, 2014
Rating:
Tidak ada komentar: