This is Marcos from Spain. This is my first post to tell you this little problem annoying me.
I am doing a very simple game, and it has a 10 seconds countdown. There is a big button for clicking and each time you click you get one point. The timer starts, and the countdown starts like this: (the following is a part of the Timer1.Tick event handler)
If Label4.Text > 0 Then
Label4.Text = Label4.Text - 1
So, when the countdown reaches zero, what I'd like to do is to STOP handling the Button2.Click event and what I wrote was this:
Timer1.Interval = 1000
Basicly, it ain't working. When I click on the button it keeps adding points.
If Label4.Text = 0 Then
RemoveHandler Button2.Click, Button2_Click()
Keep in mind that after playing one time, the user must be able to play more times. The program was fully working with a Start/Stop button, but 1. I need challenge and learning and 2.The user loses time clicking the button. So please stick to this solution, because I've thought on a MouseHover starting system.
Thank you so much from a noob.