Posted 08 August 2014 - 06:11 AM
Here are a few tips.
A good first step is adding the empty classes and setting up the form.
Gill in the fields and methods in the classes on pages 190 and 191 -- for methods that return a value like PlaceBet() and PayOut(), return a dummy value for now.
Then see if you can get your dogs to run across the form when you click the Race button. This is going to use a Timer, exactly like you did with LabelBouncer at the end of Chapter 4.
Now that you've got some code filled in, really go back to the class diagrams and see if you can figure out what's going on.
If you're still having trouble, you should definitely feel comfortable going back to past exercises and doing them again -- but this time, don't look at the answer at all while you're trying to solve them. There might just be one or two small conceptual roadblocks, and taking off the training wheels is a good way to figure that out.
If you're really stuck, move on to Chapter 5 and then come back to the lab. With programming problems, it's very common to walk away for a while, and then have that "a-ha!" moment while you're in the shower, riding a bike, shopping for groceries, etc.
I hope this helps!
Author, Head First C#
Building Better Software -- http://www.stellman-greene.com