Dim num1 As Int = Rnd(1,3)
If num1 = 1 Then
lbl_body.Text = "hand"
Else
lbl_body.Text = "leg"
End If
This is my code...And the code is written inside button1_click...when I run the program it worked amazingly but when I click once it appears but then when I click again and again and again the value doesnt change??
Could this be a silly question, does it have to do with activity must be refreshed or Im using the random variable in a wrong way??
Please help!!
If num1 = 1 Then
lbl_body.Text = "hand"
Else
lbl_body.Text = "leg"
End If
This is my code...And the code is written inside button1_click...when I run the program it worked amazingly but when I click once it appears but then when I click again and again and again the value doesnt change??
Could this be a silly question, does it have to do with activity must be refreshed or Im using the random variable in a wrong way??
Please help!!