Help needed on creating an event handler

flashy_lord

Member
Joined
Sep 3, 2010
Messages
5
Location
wisconsin
Programming Experience
Beginner
Hello vb.net forum's pals
I'm relatively new to this whole concept of programming
I have an assignment to complete, that for the most part is half way done, the application starts with the number zero (0) and anytime the count button is pressed, the a one (0) should be added to the output label, Im pretty much stuck in that part, any suggestions would be greatly appreciated, my code is as following:

Public Class CounterForm

Private Sub countButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles countButton.Click
countTotalLabel.Text = Val(countButton.Text) + 1
End Sub
End Class
 
Back
Top