Hey,
Hey guys I am trouble with minusing (the array elements value e.g 4) from the label when a user presses the down button on a numericup and down. The code below works when I press both up and down but I only wont it to work when the users press up and if they press down I want it to minus from the label. Does anyone know how to fix this?
Hey guys I am trouble with minusing (the array elements value e.g 4) from the label when a user presses the down button on a numericup and down. The code below works when I press both up and down but I only wont it to work when the users press up and if they press down I want it to minus from the label. Does anyone know how to fix this?
Code:
Dim intGameSettings (4) as Integer
Private Sub TotalTeamPointsTry_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nudFullbackTry.ValueChanged, nudWinger1Try.ValueChanged, nudWinger2Try.ValueChanged
lblTotalTeamPoints.Text = lblTotalTeamPoints.Text + intGameSettings(1)
End Sub
Comment