My First Semi-Practical C# Program
Aug 12th, 2006 by Brian A. Thomas
I made my first semi-practical C# program over the last couple of days. I probably would have had it done in less then one day had I the time.
Here is a screenshot:

In short here is what the program does:
The user enters the hours they worked so far out of 40. (The second version will allow you to change the hours in the work week.) They then enter the time they clocked in Friday and it gives the time they should leave. (The second or third revision will add the ability to add lunch time to Friday so the user can calculate past that… I don’t take lunch’s normally so I didn’t add it in the first version here.)
I’ll probably post the code to a page about the program. Keep an eye out for another post soon. I still have a few things I want to clear up in the code before posting it.
EDIT TO ADD:
The code is here.
The main reason I say semi-practical, beyond the fact it needs the two primary enhancements before it would be useful to those beyond me, is that I don’t have a way of actually using it at work. I would need a laptop to put it on… (a laptop that uses Windows XP, has .Net 2.0 and the like… though the program should technically work on any machine having .Net 2.0).






