Kleinigkeiten... glaub ich ....

This commit is contained in:
ms
2021-03-05 08:55:08 +01:00
parent 82e83c6a70
commit 1870307007
24 changed files with 931 additions and 180 deletions

23
Dokumentation/frmPopUp.vb Normal file
View File

@@ -0,0 +1,23 @@
Public Class frmPopUp
Property CountdownStartSec As Int32
Property TimeOpen As Int32 = 0
Property Nachricht As String = ""
Property CountdownIsStarted As Boolean = True
Private Sub frmPopUp_Load(sender As Object, e As EventArgs) Handles MyBase.Load
MsgBox(Nachricht)
lblNachricht.Text = Nachricht
If CountdownIsStarted = True Then Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
TimeOpen = TimeOpen + 1
If CountdownStartSec > 0 Then
lblCountdown.Text = (CountdownStartSec - TimeOpen).ToString
Else
Me.Close()
End If
End Sub
End Class