Step 8: Try Other Features

Think about how the program creates a random division problem. Consider why the program doesn't create a problem where the answer is a fraction. To learn more, try turning the timeLabel control a different color and providing the user a hint.

To try other features

  • Turn the timeLabel control red when the user only has five seconds left by setting its BackColor control (timeLabel.BackColor = Color.Red;). Reset the color when the quiz is over.

  • Provide the user a hint by playing a sound when the correct answer is entered into one of the NumericUpDown controls. (You need to write an event handler for each control's ValueChanged event, which gets fired whenever the user changes the control's value.)

To continue or review

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft