Tuesday, December 11, 2007

How to make your form Transparent

How to make your form Transparent

Step 1

To make your form appear transparent, all you need to do is use the following code. It is the same code to show a form only the Opacity value that we have set

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim f2 As New Form2()

f2.Opacity = 0.8

f2.Show()

End Sub

No comments: