Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Fade In / Out Form [Source]
#3
Code:
Private Sub btnExitApplication_Click(sender As Object, e As EventArgs)
    timer1.Enabled = False
    timer2.Enabled = True
End Sub

Code:
Private Sub timer1_Tick(sender As Object, e As EventArgs)
    Opacity += 0.03
    If Opacity = 100 Then
        timer1.Enabled = False
    End If
End Sub

Private Sub timer2_Tick(sender As Object, e As EventArgs)
    Opacity -= 0.03
    If Opacity = 0 Then
        ProjectData.EndApp()
    End If
End Sub
[Image: skyk.png]
Reply


Messages In This Thread
RE: [Tutorial] Fade In / Out Form [Source] - by ThePrinCe - 12-02-2011, 10:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem in form Chuggaism 3 1,843 11-07-2013, 06:35 PM
Last Post: AceInfinity
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,305 10-10-2013, 12:18 PM
Last Post: Saket
  Greation a promission for users in main form or setting deveco 2 921 11-13-2012, 01:33 PM
Last Post: TAHMINA123
  [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] Resistance 24 11,087 08-30-2012, 10:14 PM
Last Post: Resistance
  [Source ] Hemp Tycoon App [/Source] VB.net KoBE 8 9,417 03-05-2012, 10:30 PM
Last Post: SomeWhiteGuy?

Forum Jump:


Users browsing this thread: 1 Guest(s)