Now, let's have a look how we use the classes to create the Cricket Score Tracker app. The buttons below the Batters section and Bowler section are used to select batsmen and a bowler for the specific over.
While each button is taken care of by its own click event, they all call the exact same method. We will have a look at how that is accomplished in a moment:
Clicking on either button under the Batsmen section will display a modal dialog with a drop-down list populated with the batsmen in the team:
Similarly, when ...