I'm trying to do an eventHandler for my yahtzee program. When the user clicks a dice I want a label under it to display "hold." This is the procedure I wrote:
Sub dice_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pic1.Click, pic2.Click, pic3.Click, pic4.Click, pic5.Click
If pic1.Click Then
Me.Label1.Text = "Hold"
End If
End Sub
A blue line shows up under pic1.click and says I need a raise event procedure or something. What am I doing wrong?
2007-06-03
10:35:17
·
2 answers
·
asked by
ella
2
in
Computers & Internet
➔ Programming & Design