1
Vote

some winforms closes when lifeTimer_Tick ends

description

reproduce:
1- put a notificacion message with your template into form load
2- put an inputbox or a messagebox into form load
3- wait the animation close the notification
4- the inputbox just closes

Private Sub lifeTimer_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles lifeTimer.Tick
    'The form's lifetime has expired.
     Me.Close()
End Sub

file attachments

comments