Some changes since last journal entry:
-Added HorizontalMenu class
-Added MenuOption abstract class
-Added some error/exception handling
-Refactored code into the abstract class
-Fixed some bugs, probably added more [smile]
-Modified the test program to use a polymorphic approach (I think)
You can see the Highlight Menu code here and the test program here. You'll probably need to use the Save As option to download it.
Areas For Improvement
Error handling has been somewhat "iffy" for me. I know how to throw/catch exceptions, but I lack an understanding of general error handling theory such as when and where to use it. I just toss in some code in places that seem obvious such as setting an X value beyond the width of the window.
Comments seem rather sparse, but this isn't exactly complex code. Nevertheless, I'm sure it could use more. We'll see what happens when I try to read this a few weeks after not looking at it.
I've been keeping up with some of the reading using my phone. The .NET Book Zero displays fairly well on my T-Mobile Dash and I can read it when the fish aren't biting at the cabin. With such little time to spend at a computer I haven't done much with week 2 exercises yet; I worked on the menu instead. I'll still have a little catching up to do next week (vacation ends) and the first project will start soon.