As usual, the final program for the chapter does not introduce any new code or ideas. The Quizzer game simply puts together the concepts you have learned into an interesting package. I also borrowed heavily from the Adventure Kit game in Chapter 9 because the underlying structure is quite similar. The program has a main menu screen, which calls an editor and a quiz program.
The main form (XmlMainForm) is the simplest form of the project. It consists of three buttons, which call the other forms or exit the program altogether.
XmlMainForm has only two instance variables. Both are instances of the other two forms in the project:
private frmQuiz theQuiz; private frmEdit ...