// complete this method // call the CalcStatusAfterHole method // display the returned result in lstAfterHoleStatus private void btnStatusAfterHole_Click(object sender, EventArgs e) { //Declare local variable int round = Convert.ToInt32(nudRound.Value); //Call CalcStatusAfterHoleMethod and return value lstAfterHoleStatus.DataSource = aCard.CalcStatusAfterHole(round); }
// complete this method // call the CalcStatusAfterHole method // display the returned result in lstAfterHoleStatus private void btnStatusAfterHole_Click(object sender, EventArgs e) { lstAfterHoleStatus.DataSource = aCard.CalcStatusAfterHole(Convert.ToInt32(nudRound.Value)); }