I have 2 buttons in windows application.
If i clicked once it shd be counted as 1
in my second click automatically increase.
In my third click again need to increase...similarly for all click upto n values
how to do?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = 1
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Label2.Text = 1
End Sub
In my second click i need to increment it..