Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Me.istg_flag = 0 Then
Me.Timer1.Start()
Me.istg_flag = 1
Else
Me.Timer1.Stop()
Me.istg_flag = 0
End If
End Sub
Private Sub from_trun()
Me.Opacity -= 0.05
If Me.Opacity <= 0.2 Then Me.Opacity = 1
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
from_trun()
End Sub