|
Public Class frmFileInfo
Dim f As Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
FadeOut()
End Sub
Private Sub frmFileInfo_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If txtName.Text = "" Then
Me.Close()
End If
If txtExtension.Text = ".avi" Then
txtExtension.Text = "AVI FILE"
End If
End Sub
Private Sub FadeOut()
Dim cntr As Integer
For cntr = 90 To 10 Step -10
Me.Opacity = cntr / 100
Me.Refresh()
Threading.Thread.Sleep(50)
Next cntr
Me.Close()
End Sub
End Class
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am currently retired.
I have no degree but I have some programming experience
when I was in college(Cobol, Pascal).
My accomplishments thus far are;
Best VB.Net article for January(2009)
Best VB.Net article for July(2009)