First create 2 Timers, 1 Label and a Button
Insert in First Timer(Timer1) :
Insert in Second Timer(Timer2) :
----
First Timer(Timer1) :
Enabled = true
Interval = 30
----
Second Timer(Timer2) :
Enabled = false
Interval = 30
----
Button (Button1) :
QUELLTEXT
Timer2.Enabled = True
----
Label (Label1) :
Text : 0
----
Form(Form1) :
Location : 500; -42
Start Position : Manual
Opacity : 95%
Controlbox : False
Formborderstyle : None
-Goodluck
Insert in First Timer(Timer1) :
Code
Dim location As New System.Drawing.Point(500, Me.Location.Y + 3)
Me.Location = location
Label1.Text = Label1.Text + 1
If Label1.Text = "15" Then Timer1.Enabled = FalseInsert in Second Timer(Timer2) :
Code
Dim location As New System.Drawing.Point(500, Me.Location.Y - 3)
Me.Location = location
Label1.Text = Label1.Text - 1
If Label1.Text = "0" Then
Timer2.Enabled = False
End
End If----
First Timer(Timer1) :
Enabled = true
Interval = 30
----
Second Timer(Timer2) :
Enabled = false
Interval = 30
----
Button (Button1) :
QUELLTEXT
Timer2.Enabled = True
----
Label (Label1) :
Text : 0
----
Form(Form1) :
Location : 500; -42
Start Position : Manual
Opacity : 95%
Controlbox : False
Formborderstyle : None
-Goodluck
FR1908

