This is another example of the Strategy Design pattern, coded in C#. The user can select which format they want to display the time (analogue or digital), and change their choice while the clock is running. First you select "Analogue" or "Digital", then click the (only) button on the form to turn the clock on. After clocking the button, the text will change to "Turn Clock Off".
-
Notifications
You must be signed in to change notification settings - Fork 0
This is another example of the Strategy Design pattern, coded in C#. The user can select which format they want to display the time (analogue or digital), and change their choice while the clock is running.
rattfieldnz/StrategyDesignClock
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is another example of the Strategy Design pattern, coded in C#. The user can select which format they want to display the time (analogue or digital), and change their choice while the clock is running.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published