DRWatches API
The following are the components available under the drcoderz.com.clocks library, their API and their usage.

Namespace: drcoderz.com.clocks.simple
Name of Component: SimpleClock
Properties:

Time related:
(int) HourValue: changes the value of the hour hand
(int) MinuteValue: changes the value of the minute hand
(int) SecondValue: changes the value of the second hand

Color related:
(Brush) HandColor: changes the color of the second hand only
(Brush) NumberColor: changes the color of the numbers (both Roman and Arabic)
(Brush) ClockLabelColor: changes the color of the clock label

Configuration Related:
(enum NumberFormat) ClockNumberFormat: changes the numbers from between roman and arabic using the enumeration values AsRoman and AsArabic respectively.
(string) ClockLabel: changes the label of the clock to a user specific label.


Namespace: drcoderz.com.clocks.chrono
Name of Component: ChronoFrame
Properties:
Time related:
(int) Hours: changes the value of the hour hand
(int) Minutes: changes the value of the minutes hand
(int) Seconds: changes the value of the seconds hand
(int) MiniClockHourValue: changes the value of the mini clock hour value
(int) MiniClockMinuteValue: changes the value of the mini clock minute value
(int) MiniClockSecondValue: changes the value of the mini clock second value

Color related:
(Brush) ChronometerHandColor: changes the color of the second hand and the second hands of the mini clocks as well

Events:
EventHandler OnChronoRightTopClickEvent: handles the clicking event of the top right chronometer button
EventHandler OnChronoRightBottomClickEvent: handles the clicking event of the right bottom button
EventHandler OnChronoLeftTopClickEvent: handles the clicking event of the left top button
EventHandler OnChronoLeftBottomClickEvent: handles the clicking event of the left bottom button

Last edited Apr 19, 2011 at 1:08 AM by DRCoderz, version 1

Comments

No comments yet.