
Introduction
This is the sample code to demonstrate the two properties which are
provided by visual studio. This project is made using visual studio 2005 that
uses dot net framework 2.so you should have to download dot net frame work 2 to
run this project. In order to use the transparency effect there is a property in
visual studio named opacity we can use this property to give the fade out and
fade in effect. For making this we use the following code snippet .this code is
inserted in form_load.
Dim i As Double
For i = 0 To 1 Step 0.1
Threading.Thread.Sleep(112)
Me.Opacity = i
Me.Visible = True
Next
By increasing the sleep value we can increase the delay in the fade
effect.
To change the shape of the form we have to change the transparency key to
a color which will not match with the color of the image form which we can make
by using any graphics tool. I have used adobe CS for this purpose and made a
background image for the form.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here