Sign in to follow this  
  • entries
    3
  • comments
    2
  • views
    3153

Vacation & Progress

Sign in to follow this  
brandogon

215 views

I've spent the last week or so on vacation away from home, but I have managed to get some more work done on the highlight menu classes. The menus have come along nicely and seem to work well so far.

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.

C# Workshop

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.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now