hello!
my question is how to reset a private sub, I'm not sure if I'm saying it right, but here is an example,
here when i click btnOne, lblOne & lblTwo changes their color to red, when i click btnTwo after that lblOne will change to black but lblTwo will remain red
is there a away to reset to default what btnOne did when i click btnTwo ?
my question is how to reset a private sub, I'm not sure if I'm saying it right, but here is an example,
Code:
Private Sub btnOne_Click (...) Handles btnOne.Click
lblOne.ForeColor = Color.red
lblTwo.ForeColor = Color.red
End Sub
Private Sub btnTwo_Click (...) Handles btnTwo.Click
lblOne.ForeColor = Color.Black
End Sub
is there a away to reset to default what btnOne did when i click btnTwo ?