Question: Purpose Design a Stop Watch class to track the time spent on phone calls. Create a 3 tier application with 1 Windows Form App, 1
Purpose
Design a Stop Watch class to track the time spent on phone calls. Create a tier application with Windows Form App, Business Layer Class Library, and UnitTest project. Use this class to time the number of hours, minutes and seconds.
Fields
startTime DateTime
stopTime DateTime
Properties
ElapsedTime Read only returns a String in the format : hh:mm:ss
Methods
StartClock
StopClock
Exceptions
StartException
StopException
Specifications
The class has the above properties, methods exceptions. pts
The application architecture is correct. pts
When the user attempts to stop the clock without starting the StopException is raised. pts
When the user attempts to start the clock when it is running the StartException is raised. pts
The elapsed time can be read at any time while the clock is running. pts
Use proper control naming. pts
Use proper comments. pts
Add a TestMethod for the StopClock and StartClock methods. pts
Program crashes ptsoccurrence
Timer Function only updates the interfacewill reject submission
Extra Credit Points
Add a split time function that displays split times time since beginning or last split time Extra credit will only be allowed if the base functionality of the application is working correctly.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
