Here's a simplified version of a bit of code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim counter As Integer
Dim temp As String
While counter < 11
temp = Button1.Text
Button1.Text = Button2.Text
Button2.Text = temp
Threading.Thread.Sleep(1000)
counter += 1
End While
End Sub
I want the program to stop for 1 second after each switch but what this piece of code does is stop 11 seconds then does the switch. I want it to stop and show each switch. How can I do that? Is it possible to do it without a timer?