IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Public Member Functions | |
TimerControl () | |
Constructs a timer control. More... | |
void | LoadDefaultSounds () |
virtual void | PlaySoundStart () |
Plays the sound associated with clicking the start button. More... | |
virtual void | PlaySoundStop () |
Plays the sound associated with clicking the stop button. More... | |
virtual void | PlaySoundReset () |
Plays the sound associated with clicking the reset button. More... | |
virtual void | PlaySoundSecondTick () |
Plays the sound associated with a second tick. More... | |
virtual void | PlaySoundMinuteBell () |
Plays the sound associated with the whole minute switch. More... | |
virtual void | PlaySoundHourBell () |
Plays the sound associated with the whole minute switch. More... | |
virtual void | PlaySoundAlarmCountdown () |
Plays the sound associated with a countdown end. More... | |
void | ReportInfo (string message) |
Launches an info message. More... | |
void | ReportWarning (string message) |
Launches a warning message. More... | |
void | ReportError (string message) |
Launches a warning message. More... | |
void | UpdateDisplayFonts () |
Updates fonts that are dependent on the main display font, according to this font. More... | |
void | SetDisplayFontSize (double sizeInPoints) |
Changes size of the display font. More... | |
void | SetDisplayFontSize (decimal sizeInPointsDecimal) |
Changes size of the display font. More... | |
virtual void | StopwatchStartOrStop () |
Starts (if it is not running) or stops (if it is running) the stopwatch. More... | |
virtual void | StopwatchStart () |
Starts the stopwatch. More... | |
virtual void | StopwatchStop () |
Stops the stopwatch timer. More... | |
virtual void | CountdownStartOrStop () |
Starts (if it is not running) or stops (if it is running) the countdown. More... | |
virtual void | CountdownStart () |
Starts the countdown timer. More... | |
virtual void | CountdownStop () |
Stops the countdown timer. More... | |
Static Public Attributes | |
static int | DefaultMaxNumTimerErrorReports = 10 |
Default maximal number of times a report about timer tick exception is launched. More... | |
Protected Member Functions | |
virtual void | UpdateDisplays () |
Updates timer's displays. More... | |
virtual void | UpdateSwDisplay () |
Refreshes stopwatch's display according to elapsed time. More... | |
virtual void | UpdateSwControls () |
Updates stopwatch controls according to internal properties. More... | |
virtual void | UpdateDisplayAppearance () |
Updates fonts on the timer's displays. More... | |
virtual void | UpdateSwButtonsAppearance () |
Updates appearance of the stopwatch buttons. More... | |
virtual void | OnStopwatchTimerTick () |
Called when the timer event fires (very often, in the range of milliseconds). Raises the StopwatchTimerTick event and updates the display. More... | |
virtual void | StopwatchResetIt () |
Resets the stopwatch. More... | |
virtual void | OnStopwatchSecondTick () |
Called when the stopwatch seconds count reaches a whole value (seconds tick). Raises the StopwatchSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsSwSoundSecondTick). More... | |
virtual void | OnStopwatchMinuteBell () |
Called when the stopwatch minutes count reaches a whole value (minutes signal). Raises the StopwatchMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsSwSoundMinuteBell). More... | |
virtual void | OnStopwatchHourBell () |
Called when the stopwatch hours count reaches a whole value (hour switch signal). Raises the StopwatchHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsSwSoundHourBell). More... | |
virtual void | UpdateCdInitialTimeSpan () |
Updates initial TimeSpan of the countdown in such a way that it corresponds to its initial hours, minutes, seconds, and miilliseconds. More... | |
virtual void | UpdateCdInitialTime () |
Updates initial hours, minutes, seconds, and milliseconds of the countdown in such a way that they correspond to its intial TimeSpan. More... | |
virtual void | UpdateCdDisplay () |
Refreshes countdown's display according to elapsed time. More... | |
virtual void | UpdateCdControls () |
Updates countdown controls according to internal properties. More... | |
virtual void | UpdateCdButtonsAppearance () |
Updates appearance of the stopwatch buttons. More... | |
virtual void | OnCountdownTimerTick () |
Called when the timer event fires (very often, in the range of milliseconds). Raises the CountdownTimerTick event and updates the display. More... | |
virtual void | CountdownResetIt () |
Resets the countdown. More... | |
virtual void | OnCountdownFinished () |
Called when the countdown reaches 0 and stops counting down. Raises the CountdownFinished event and eventually plays the appropriate alarm (if not IsSilent and if IsCdSoundAlarm). More... | |
virtual void | OnCountdownSecondTick () |
Called when the countdown seconds count reaches a whole value (seconds tick). Raises the CountdownSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsCdSoundSecondTick). More... | |
virtual void | OnCountdownMinuteBell () |
Called when the countdown minutes count reaches a whole value (minutes signal). Raises the CountdownMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsCdSoundMinuteBell). More... | |
virtual void | OnCountdownHourBell () |
Called when the countdown hours count reaches a whole value (hours signal). Raises the CountdownHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsCdSoundHourBell). More... | |
virtual void | UpdateClockControls () |
Updates clock controls according to internal properties. More... | |
virtual void | UpdateClockButtonsAppearance () |
Updates appearance of the clock buttons. More... | |
virtual void | UpdateClockDisplay () |
Refreshes Clock's display according to the current time. More... | |
virtual void | OnClockTimerTick () |
Called when the timer event fires (very often, in the range of milliseconds). Raises the ClockTimerTick event and updates the display. More... | |
virtual void | OnClockSecondTick () |
Called when the clock seconds count reaches a whole value (seconds tick). Raises the ClockSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsClockSoundSecondTick). More... | |
virtual void | OnClockMinuteBell () |
Called when the clock minutes count reaches a whole value (minutes signal). Raises the ClockMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsClockSoundMinuteBell). More... | |
virtual void | OnClockHourBell () |
Called when the clock hours count reaches a whole value (hours signal). Raises the ClockHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsClockSoundHourBell). More... | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Protected Attributes | |
SoundPlayer | _soundPlayerStart = null |
SoundPlayer | _soundPlayerStop = null |
SoundPlayer | _soundPlayerReset = null |
SoundPlayer | _soundPlayerSecondTick = null |
SoundPlayer | _soundPlayerMinuteBell = null |
SoundPlayer | _soundPlayerHourBell = null |
SoundPlayer | _soundPlayerAlarmCountdown = null |
bool | _isStopwatchShown = true |
bool | _isStopwatchMain = false |
Font | _displayFont = null |
TimeSpan | _swPreviousSpan |
TimeSpan | _swCurrentSpan |
TimeSpan | _cdPreviousRemainingSpan |
TimeSpan | _cdCurrentRemainingSpan |
DateTime | _clockPreviousWallclockTime |
DateTime | _clockCurrentWalclockTime |
bool | _isCountdownShown = true |
bool | _isCountdownhMain = false |
bool | _isClockRunnng = true |
bool | _isClockShown = true |
bool | _isClockMain = false |
Properties | |
IG.Lib.IReporter | Reporter [get] |
Gets a reporter for the current control. More... | |
static int | DefaultOutputLevel [get, set] |
Default output level for this class of objects. More... | |
int | OutputLevel [get, set] |
Current output level for the current object. More... | |
int | MaxPlayErrors [get, set] |
int | NumPlayErrors [get, set] |
virtual SoundPlayer | SoundPlayerStart [get] |
Gets the sound player for playing sound when a start button is pressed. Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerStop [get] |
Gets the sound player for playing sound when the stop button is pressed. Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerReset [get] |
Gets the sound player for playing sound when the resett button is pressed. Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerSecondTick [get] |
Gets the sound player for playing sound when another second passes (a second tick). Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerMinuteBell [get] |
Gets the sound player for playing sound when another minute passes (a minute bell). Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerHourBell [get] |
Gets the sound player for playing sound when another hour passes (a hour bell). Player is pre-laded with the appropriate sound. More... | |
virtual SoundPlayer | SoundPlayerAlarmCountdown [get] |
Gets the sound player for playing alarm when countdown finishes. Player is pre-laded with the appropriate sound. More... | |
virtual bool | IsSwSoundSecondTick [get, set] |
Whether a tick sound is switched on (launched every second when the stopwatch is running). More... | |
virtual bool | IsSwSoundMinuteBell [get, set] |
Whether a minutes bell sound is switched on (launched every minute when the stopwatch is running). More... | |
virtual bool | IsSwSoundHourBell [get, set] |
Whether a hour bell sound is switched on (launched every hour when the stopwatch is running). More... | |
virtual bool | IsSwSoundButtons [get, set] |
Whether the stopwatch's button sound is switched on (launched every time a stopwatch button with some effect is pressed, or the same effect is achieved programatically). More... | |
virtual bool | IsCdSoundSecondTick [get, set] |
Whether the countdown's tick sound is switched on (a sound launched every second when the countdown is running). More... | |
virtual bool | IsCdSoundMinuteBell [get, set] |
Whether the countdown's minute bell sound is switched on (a sound launched every minute when the countdown is running). More... | |
virtual bool | IsCdSoundHourBell [get, set] |
Whether the countdown's hpur bell sound is switched on (a sound launched every hour when the countdown is running). More... | |
virtual bool | IsClockSoundSecondTick [get, set] |
Whether the countdown's tick sound is switched on (a sound launched every second when the countdown is running). More... | |
virtual bool | IsClockSoundMinuteBell [get, set] |
Whether the countdown's minute bell sound is switched on (a sound launched every minute when the countdown is running). More... | |
virtual bool | IsClockSoundHourBell [get, set] |
Whether the countdown's hpur bell sound is switched on (a sound launched every hour when the countdown is running). More... | |
bool | IsRunning [get] |
Indicates whether the timer is currently running or not. More... | |
int | TimerIntervalMs [get, set] |
Timer interval, in Milliseconds. More... | |
virtual bool | IsSilent [get, set] |
Flag specifying whether the complete timer is in a silent mode. More... | |
StopWatch1 | SwStopwatch [get] |
Stopwatch used to measure elapsed time for the displayed stopwatch. More... | |
bool | IsStopwatchRunning [get] |
Indicates whether the countdown timer is running or not. More... | |
bool | IsStopwatchShown [get, set] |
Specifies whether the stopwatch is shown or not. More... | |
bool | IsStopwatchMain [get, set] |
Specifies whether the stopwatch is the main gadget of the three. More... | |
TimeSpan | StopwatchTotalTimeSpan [get] |
Gets the current time span measured by the stopwatch. More... | |
double | StopWatchTotalTime [get] |
Gets the current time span measured by the stopwatch. More... | |
Font | FontMilli [get, set] |
Font used in timer's displays for milliseconds. More... | |
Font | DisplayFont [get, set] |
Font used in timerr's displays. More... | |
double | MilliSecondsSizeRatio [get, set] |
Ratio between the size of millisecond digits and other digits on the stopwatch. More... | |
double | MinDispayFontSizeInPoints [get, protected set] |
Minimal size of display font, in points. More... | |
bool | SwShowMilliSeconds [get, set] |
Whether milliseconds shoulld be shown. More... | |
bool | SwShowHoursWhenZero [get, set] |
Color | ColorBgTitleMain [get, set] |
Background color for main timer title. More... | |
Color | ColorFgTitleMain [get, set] |
Foreground color for main timer title. More... | |
Color | ColorBgTitle [get, set] |
Background color for timer title - not main. More... | |
Color | ColorFgTitle [get, set] |
Foreground color for main timer title. More... | |
Color | ColorBgWarning [get, set] |
Color | ColorBgOk [get, set] |
Color | ColorInvisible [get] |
Color | DisplayBg [get, protected set] |
Display background color. More... | |
Color | DisplayFg [get, protected set] |
Display foreground color. More... | |
string | SwStartText [get, set] |
Text that is written on the stopwatch start button. More... | |
string | SwStopText [get, set] |
string | SwResetText [get, protected set] |
Color | SwStartColor [get, protected set] |
Background color for stopwatch start button. More... | |
Color | SwStopColor [get, protected set] |
Color | SwResetColor [get, protected set] |
Background color for stopwatch reset button. More... | |
Color | ControlsFgClosed [get, protected set] |
Foreground color for controls opener when controls are closed. More... | |
Color | ControlsFgOpen [get, protected set] |
Foreground color for controls opener when controls are opened. More... | |
string | ControlsClosedText [get, protected set] |
Tect for controls opener when controls are closed. More... | |
string | ControlsOpenText [get, protected set] |
Tect for controls opener when controls are opened. More... | |
bool | IsSwControlsOpened [get, protected set] |
Wheether controls are opened or not. More... | |
int | MaxTimerErrorReports [get, set] |
Macimal number of times a report on exception thrown within the timer tick event can be launched. More... | |
int | NumTimerErrorReports [get, set] |
Number of times a report on exception thrown within the timer tick event has already been launched. More... | |
StopWatch1 | CdStopwatch [get] |
Stopwatch used to measure elapsed time for the displayed cowntdown. More... | |
bool | IsCountdownRunning [get] |
Indicates whether the countdown timer is running or not. More... | |
bool | IsCountdownShown [get, set] |
Specifies whether the countdown timer is shown or not. More... | |
bool | IsCountdownMain [get, set] |
Specifies whether the countdown timer is the main gadget of the three. More... | |
TimeSpan | CountdownTotalTimeSpan [get] |
Gets the current total time span measured by the countdown's stopwatch. More... | |
double | CountdownTotalTime [get] |
Gets the current time span measured by the countdown's stopwatch. More... | |
TimeSpan | CountdownRemainingTimeSpan [get] |
Gets Countdown's remaining time span. More... | |
double | CountdownRemainingTime [get] |
Returns Countdown's remaining time in seconds. More... | |
virtual int | CdInitialHours [get, set] |
Number of hours initially set in countdown. More... | |
virtual int | CdInitialMinutes [get, set] |
Number of minutes initially set in countdown. More... | |
virtual int | CdInitialSeconds [get, set] |
Number of seconds initially set in countdown. More... | |
virtual int | CdInitialMilliseconds [get, set] |
Number of milliseconds initially set in countdown. More... | |
virtual TimeSpan | CdInitialTimeSpan [get, set] |
Initial time span set in countdown. More... | |
bool | CdShowMilliSeconds [get, set] |
Whether milliseconds shoulld be shown on countdown. More... | |
bool | CdShowHoursWhenZero [get, set] |
virtual bool | IsCdSoundButtons [get, set] |
Whether the countdown's button sound is switched on (a sound launched every time a countdown button with some effectt is pressed, or the same effect is achieved programatically). More... | |
virtual bool | IsCdSoundAlarm [get, set] |
Whether a countdown's alarm sound is switched on (launched when the countdown is finished, i.e. the countdown reachhes zero). More... | |
string | CdStartText [get, set] |
Text that is written on the stopwatch start button. More... | |
string | CdStopText [get, set] |
string | CdResetText [get, protected set] |
Color | CdStartColor [get, protected set] |
Background color for stopwatch start button. More... | |
Color | CdStopColor [get, protected set] |
Color | CdResetColor [get, protected set] |
bool | IsCdControlsOpened [get, protected set] |
Wheether controls are opened or not. More... | |
DateTime | WallclockTime [get] |
Wallclock time as it was last looked up. More... | |
bool | IsClockRunning [get, protected set] |
Whether the clock is currently running or not. More... | |
bool | IsClockShown [get, set] |
Specifies whether the clock is shown or not. More... | |
bool | IsClockMain [get, set] |
Specifies whether the clock is the main gadget of the three. More... | |
Events | |
EventHandler | StopwatchTimerTick |
Event that is fired on each stopwatch's timer tick (very often, in the range of milliseconds). More... | |
EventHandler | StopwatchStarted |
Event that is fired when the stopwatch starts. More... | |
EventHandler | StopwatchStopped |
Event that is fired when the stopwatch stops. More... | |
EventHandler | StopwatchReset |
Event that is raised when the counter is reset. More... | |
EventHandler | StopwatchSecondTick |
Event that is fired when second count changes to a whole value (seconds tick). More... | |
EventHandler | StopwatchMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal). More... | |
EventHandler | StopwatchHourBell |
Event that is fired when minutes count changes to a whole value (minute switch signal). More... | |
EventHandler | CountdownTimerTick |
Event that is fired on each countdown's timer tick (very often, in the range of milliseconds). More... | |
EventHandler | CountdownStarted |
Event that is fired when the countdown starts. More... | |
EventHandler | CountdownStopped |
Event that is fired when the countdown stops. More... | |
EventHandler | CountdownReset |
Event that is raised when the counter is reset. More... | |
EventHandler | CountdownFinished |
Event that is fired when the countdown reaches 0. More... | |
EventHandler | CountdownSecondTick |
Event that is fired when second count changes to a whole value (seconds tick). More... | |
EventHandler | CountdownMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal). More... | |
EventHandler | CountdownHourBell |
Event that is fired when gours count changes to a whole value (hours signal). More... | |
EventHandler | ClockTimerTick |
Event that is fired on each clock's timer tick (very often, in the range of milliseconds). More... | |
EventHandler | ClockSecondTick |
Event that is fired when second count changes to a whole value (seconds tick). More... | |
EventHandler | ClockMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal). More... | |
EventHandler | ClockHourBell |
Event that is fired when gours count changes to a whole value (hours signal). More... | |
Private Member Functions | |
void | ReportSoundError (string soundDescriptor, Exception ex) |
void | timer1_Tick (object sender, EventArgs e) |
Timer event handlesr, executed on every tick of thr timer. More... | |
void | StopWatchControl_Load (object sender, EventArgs e) |
void | btnSwControls_Click (object sender, EventArgs e) |
Toggles opening/closing stopwatch's controls panel. More... | |
void | chkSwSilent_CheckedChanged (object sender, EventArgs e) |
Toggles silent mode. More... | |
void | btnSwStartStop_Click (object sender, EventArgs e) |
Start / stop button pressed. More... | |
void | btnSwReset_Click (object sender, EventArgs e) |
void | flowPanelOuter_SizeChanged (object sender, EventArgs e) |
Fired on size change of the outer panel of the control. Currently not used, but this event can be used fo triger the appropriate actions (e.g. adjust the size) of containing controls. Now containing controls are adjusted automatically (by appropriate property setting). More... | |
void | fontSelectorSw_FontSelected (object sender, FontEventArgs args) |
Trigered by font selector control when a new font was selected in it. More... | |
void | fontSelector_Load (object sender, EventArgs e) |
Not used. More... | |
void | fontSelector_FontSelected (object sender, FontEventArgs args) |
When font is selected by the font selector, it sets the display font in this control to the selected font. More... | |
void | numFontSize_ValueChanged (object sender, EventArgs e) |
void | numSwFontSize_Enter (object sender, EventArgs e) |
Selects the contents for easy changing by typing. More... | |
void | numSwFontSize_Click (object sender, EventArgs e) |
Selects the contents for easy changing by typing. More... | |
void | chkSwDisplayMilliseconds_CheckedChanged (object sender, EventArgs e) |
void | chkSwDisplayHours_CheckedChanged (object sender, EventArgs e) |
void | btnCdControls_Click (object sender, EventArgs e) |
Toggles between open / closed control panel for the countdown. More... | |
void | chkCdSilent_CheckedChanged (object sender, EventArgs e) |
Toggles silent mode. More... | |
void | fontSelectorCd_FontSelected (object sender, FontEventArgs args) |
void | btnCdStartStop_Click (object sender, EventArgs e) |
void | btnCdReset_Click (object sender, EventArgs e) |
void | chkCdDisplayMilliseconds_CheckedChanged (object sender, EventArgs e) |
void | chkCdDisplayHours_CheckedChanged (object sender, EventArgs e) |
void | numCdFontSize_ValueChanged (object sender, EventArgs e) |
void | numCdFontSize_Enter (object sender, EventArgs e) |
void | numCdFontSize_Click (object sender, EventArgs e) |
void | AdaptForLinux () |
Tries to adapt control settings in such a way that crucial controls are visible in the Linux version compiled with Mono. More... | |
void | AdaptForWindows () |
void | menuLinux_Click (object sender, EventArgs e) |
void | menuWindows_Click (object sender, EventArgs e) |
void | menuMain_Opening (object sender, CancelEventArgs e) |
void | menuSw_DoubleClick (object sender, EventArgs e) |
Stopwatch becomes the main gadget. More... | |
void | menuSw_CheckedChanged (object sender, EventArgs e) |
Hides / shows stopwatch. More... | |
void | menuSwMain_Click (object sender, EventArgs e) |
void | menuSwShow_Click (object sender, EventArgs e) |
void | menuCd_DoubleClick (object sender, EventArgs e) |
void | menuCd_CheckedChanged (object sender, EventArgs e) |
void | menuCdMain_Click (object sender, EventArgs e) |
void | menuCdShow_Click (object sender, EventArgs e) |
void | menuClock_DoubleClick (object sender, EventArgs e) |
void | menuClock_CheckedChanged (object sender, EventArgs e) |
void | menuClockMain_Click (object sender, EventArgs e) |
void | menuClockShow_Click (object sender, EventArgs e) |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
int | _outputLevel = DefaultOutputLevel |
int | _maxPlayErrors = 5 |
bool | _isSwSoundSecondTick = true |
bool | _isSwSoundMinuteBell = true |
bool | _isSwSoundHourBell = true |
bool | _isSwSoundButtonPressed = true |
bool | _isCdSoundSecondTick = true |
bool | _isCdSoundMinuteBell = true |
bool | _isCdSoundHourBell = true |
bool | _isClockSoundSecondTick = true |
bool | _isClockSoundMinuteBell = true |
bool | _isClockSoundHourBell = true |
int | _timerIntervalMs = 5 |
bool | _isSilent = true |
StopWatch1 | _swStopwatch |
Font | _fontMilli = null |
double | _millisecondsSizeRatio = 0.5 |
double | _minDispayFontSizeInPoints = 2.0 |
bool | _swShowMilliSeconds = true |
bool | _swShowHoursWhenZero = true |
Whether hours shoulld be shown when they are zero. More... | |
Color | _colorBgTitleMain = Color.LightBlue |
Color | _colorBgTitle = Color.Transparent |
Color | _colorFgTitleMain = Color.Black |
Color | _colorFgTitle = Color.Black |
Color | _colorBgWarning = Color.Red |
Color | _colorBgOk = Color.Green |
Color | _displayBg = Color.PaleGoldenrod |
Color | _displayFg = Color.SeaGreen |
string | _swStartText = "Start" |
string | _swStopText = "Pause" |
string | _swResetText = "Reset" |
Color | _swStartColor = Color.Green |
Color | _swStopColor = Color.LightSalmon |
Background color for stopwatch stop button. More... | |
Color | _swResetColor = Color.LightSalmon |
Color | _controlsFgClosed = Color.Black |
Color | _controlsFgOpen = Color.Blue |
string | _controlsClosedText = "â–¼" |
string | _ontrolsOpenText = "â–²" |
bool | _swControlsOpen = false |
int | _maxTimerErrorReports = DefaultMaxNumTimerErrorReports |
int | _numTimerErrorReports = 0 |
StopWatch1 | _cdStopwatch |
int | _cdInitialHours = 0 |
int | _cdInitialMinutes = 0 |
int | _cdInitialSecods = 0 |
int | _cdInitialMs = 0 |
TimeSpan | _cdInitialTimeSpan = new TimeSpan(0, 0, 10, 0) |
bool | _cdShowMilliSeconds = true |
bool | _cdShowHoursWhenZero = true |
Whether hours shoulld be shown on countdown when they are zero. More... | |
bool | _isCdSoundButtonPressed = true |
bool | _isCdSoundAlarm = true |
string | _cdStartText = "Start" |
string | _cdStopText = "Pause" |
string | _cdResetText = "Reset" |
Color | _cdStartColor = Color.Green |
Color | _cdStopColor = Color.LightSalmon |
Background color for stopwatch stop button. More... | |
Color | _cdResetColor = Color.LightSalmon |
Background color for countdown reset button. More... | |
bool | _cdControlsOpen = false |
DateTime | _lastWallclockTime = DateTime.Now |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
System.Windows.Forms.FlowLayoutPanel | flowSwOuter |
System.Windows.Forms.FlowLayoutPanel | flowSwDisplay |
System.Windows.Forms.Label | dispSwHours |
System.Windows.Forms.Label | dispSwHoursSeparator |
System.Windows.Forms.Label | dispSwMin |
System.Windows.Forms.Label | dispSwMinSeparator |
System.Windows.Forms.Label | dispSwSec |
System.Windows.Forms.Button | btnSwStartStop |
System.Windows.Forms.Button | btnSwReset |
System.Windows.Forms.Timer | timer1 |
System.Windows.Forms.Button | btnSwControls |
System.Windows.Forms.GroupBox | boxSwControls |
System.Windows.Forms.Label | lbSwlFontSize |
System.Windows.Forms.NumericUpDown | numSwFontSize |
System.Windows.Forms.FlowLayoutPanel | flowSwDisplayTop |
System.Windows.Forms.FlowLayoutPanel | flowSwDisplayBottom |
System.Windows.Forms.Label | dispSwSecDecimalPoint |
System.Windows.Forms.Label | dispSwMilliSec |
System.Windows.Forms.FlowLayoutPanel | flowSwButtosLeft |
System.Windows.Forms.FlowLayoutPanel | flowSwButtonsRight |
System.Windows.Forms.FlowLayoutPanel | flowSwButtons |
System.Windows.Forms.FlowLayoutPanel | flowSwControlsBasic |
System.Windows.Forms.Button | lblSwTitle |
System.Windows.Forms.FlowLayoutPanel | flowCdOuter |
System.Windows.Forms.Button | lblCdTitle |
System.Windows.Forms.FlowLayoutPanel | flowCdDisplay |
System.Windows.Forms.FlowLayoutPanel | flowCdDisplayTop |
System.Windows.Forms.Label | dispCdHours |
System.Windows.Forms.Label | dispCdHoursSeparator |
System.Windows.Forms.Label | dispCdMin |
System.Windows.Forms.Label | dispCdMinSeparator |
System.Windows.Forms.Label | dispCdSec |
System.Windows.Forms.FlowLayoutPanel | flowCdDisplayMillisec |
System.Windows.Forms.Label | dispCdSecDecimalPoint |
System.Windows.Forms.Label | dispCdMilliSec |
System.Windows.Forms.FlowLayoutPanel | flowCdButtons |
System.Windows.Forms.FlowLayoutPanel | flowCdButtonsLeft |
System.Windows.Forms.Button | btnCdStartStop |
System.Windows.Forms.FlowLayoutPanel | flowCdButtonsRight |
System.Windows.Forms.Button | btnCdReset |
System.Windows.Forms.FlowLayoutPanel | flowCdControlsBasic |
System.Windows.Forms.Label | lbTwlFontSize |
System.Windows.Forms.NumericUpDown | numCdFontSize |
System.Windows.Forms.Button | btnCdControls |
System.Windows.Forms.GroupBox | boxCdControls |
FontSelectorSimple | fontSelectorSw |
System.Windows.Forms.CheckBox | chkSwDisplayHours |
System.Windows.Forms.CheckBox | chkSwDisplayMilliseconds |
System.Windows.Forms.CheckBox | chkCdDisplayMillisec |
System.Windows.Forms.CheckBox | chkCdDisplayHours |
FontSelectorSimple | fontSelectorCd |
System.Windows.Forms.FlowLayoutPanel | flowOuter |
System.Windows.Forms.Label | lblHelpOuterFlow |
System.Windows.Forms.CheckBox | chkCdSilent |
System.Windows.Forms.CheckBox | chkSwSilent |
System.Windows.Forms.FlowLayoutPanel | flowCdDisplaySeconds |
System.Windows.Forms.ContextMenuStrip | menuMain |
System.Windows.Forms.ToolStripMenuItem | menuLinux |
System.Windows.Forms.Button | btnDispCdTop |
System.Windows.Forms.Button | btnDispCdBottom |
System.Windows.Forms.Button | btnDispCdLeft |
System.Windows.Forms.Button | btnDispCdRight |
System.Windows.Forms.ToolStripMenuItem | menuWindows |
System.Windows.Forms.ToolStripMenuItem | menuSw |
System.Windows.Forms.ToolStripMenuItem | menuCd |
System.Windows.Forms.ToolStripMenuItem | menuClock |
System.Windows.Forms.ToolStripMenuItem | menuSwMain |
System.Windows.Forms.ToolStripMenuItem | menuSwShow |
System.Windows.Forms.ToolStripMenuItem | menuCdMain |
System.Windows.Forms.ToolStripMenuItem | menuClockMain |
System.Windows.Forms.ToolStripMenuItem | menuCdShow |
System.Windows.Forms.ToolStripMenuItem | menuClockShow |
System.Windows.Forms.FlowLayoutPanel | flowClockOuter |
System.Windows.Forms.Button | lblClockTitle |
System.Windows.Forms.FlowLayoutPanel | flowClockDisplay |
System.Windows.Forms.FlowLayoutPanel | flowClockDisplayTop |
System.Windows.Forms.Label | dispClockHours |
System.Windows.Forms.Label | dispClockHoursSeparator |
System.Windows.Forms.Label | dispClockMin |
System.Windows.Forms.Label | dispClockMinSeparator |
System.Windows.Forms.FlowLayoutPanel | flowClockDisplaySeconds |
System.Windows.Forms.Label | dispClockSec |
System.Windows.Forms.FlowLayoutPanel | flowClockDisplayMillisec |
System.Windows.Forms.Label | dispClockSecDecimalPoint |
System.Windows.Forms.Label | dispClockMilliSec |
System.Windows.Forms.FlowLayoutPanel | flowClockButtons |
System.Windows.Forms.FlowLayoutPanel | flowClockButtonsLeft |
System.Windows.Forms.Button | btnClockStartStop |
System.Windows.Forms.FlowLayoutPanel | flowClockButtonsRight |
System.Windows.Forms.Button | btnClockReset |
System.Windows.Forms.FlowLayoutPanel | flowClockControlsBasic |
System.Windows.Forms.Label | lbClocklFontSize |
System.Windows.Forms.NumericUpDown | numClockFontSize |
System.Windows.Forms.Button | btnClockControls |
System.Windows.Forms.GroupBox | boxClockControls |
System.Windows.Forms.CheckBox | chkClockSilent |
System.Windows.Forms.CheckBox | chkClockDisplayMillisec |
FontSelectorSimple | fontSelectorClock |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator1 |
System.Windows.Forms.ToolStripMenuItem | menuOptions |
System.Windows.Forms.ToolStripSeparator | toolStripSeparator2 |
System.Windows.Forms.ToolStripMenuItem | menuSilent |
System.Windows.Forms.ToolStripMenuItem | menuMilliseconds |
System.Windows.Forms.ToolStripMenuItem | menuFont |
System.Windows.Forms.ToolStripMenuItem | menuSize |
Static Private Attributes | |
static int | _defaultOutputLevel = 0 |
|
inline |
Constructs a timer control.
References IG.Lib.UtilSystem.IsLinuxOs, and IG.Lib.UtilSystem.IsWindowsOs.
|
inline |
|
inlineprivate |
|
inlinevirtual |
Plays the sound associated with clicking the start button.
|
inlinevirtual |
Plays the sound associated with clicking the stop button.
|
inlinevirtual |
Plays the sound associated with clicking the reset button.
|
inlinevirtual |
Plays the sound associated with a second tick.
|
inlinevirtual |
Plays the sound associated with the whole minute switch.
|
inlinevirtual |
Plays the sound associated with the whole minute switch.
|
inlinevirtual |
Plays the sound associated with a countdown end.
|
inline |
Launches an info message.
|
inline |
Launches a warning message.
|
inline |
Launches a warning message.
|
inline |
Updates fonts that are dependent on the main display font, according to this font.
|
inlineprotectedvirtual |
Updates timer's displays.
|
inlineprotectedvirtual |
Refreshes stopwatch's display according to elapsed time.
References IG.Num.M.floor().
|
inlineprotectedvirtual |
Updates stopwatch controls according to internal properties.
|
inlineprotectedvirtual |
Updates fonts on the timer's displays.
|
inlineprotectedvirtual |
Updates appearance of the stopwatch buttons.
|
inlineprivate |
Timer event handlesr, executed on every tick of thr timer.
sender | |
e |
|
inlineprivate |
|
inlineprivate |
Toggles opening/closing stopwatch's controls panel.
|
inlineprivate |
Toggles silent mode.
|
inlineprivate |
Start / stop button pressed.
|
inlineprivate |
|
inlineprivate |
Fired on size change of the outer panel of the control. Currently not used, but this event can be used fo triger the appropriate actions (e.g. adjust the size) of containing controls. Now containing controls are adjusted automatically (by appropriate property setting).
|
inlineprivate |
Trigered by font selector control when a new font was selected in it.
References IG.Forms.FontEventArgs.Font.
|
inlineprivate |
Not used.
|
inlineprivate |
When font is selected by the font selector, it sets the display font in this control to the selected font.
sender | Control that raised the event. |
args | Contains the selected font. |
References IG.Forms.FontEventArgs.Font.
|
inline |
Changes size of the display font.
sizeInPoints | New size of the display font, in points. |
|
inline |
Changes size of the display font.
sizeinPointsDecimal | New size of the display font, in points. |
|
inlineprivate |
|
inlineprivate |
Selects the contents for easy changing by typing.
|
inlineprivate |
Selects the contents for easy changing by typing.
|
inlineprivate |
|
inlineprivate |
|
inlineprotectedvirtual |
Called when the timer event fires (very often, in the range of milliseconds). Raises the StopwatchTimerTick event and updates the display.
Sounds can not be assigned to this event.
|
inlinevirtual |
Starts (if it is not running) or stops (if it is running) the stopwatch.
|
inlinevirtual |
Starts the stopwatch.
Its internal stopwatch starts running and the StopwatchStarted event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsSwSoundButtons
If the stopwatch is already runninng or it has already finished, call to this function has no effect.
|
inlinevirtual |
Stops the stopwatch timer.
Its internal stopwatch stops running and the StopwatchStopped event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsSwSoundButtons)
If the stopwatch is paused or it has already finished, call to this function has no effect.
|
inlineprotectedvirtual |
Resets the stopwatch.
Its internal stopwatch stops running (if it runs) and the StopwatchReset event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsSwSoundButtons)
|
inlineprotectedvirtual |
Called when the stopwatch seconds count reaches a whole value (seconds tick). Raises the StopwatchSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsSwSoundSecondTick).
|
inlineprotectedvirtual |
Called when the stopwatch minutes count reaches a whole value (minutes signal). Raises the StopwatchMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsSwSoundMinuteBell).
|
inlineprotectedvirtual |
Called when the stopwatch hours count reaches a whole value (hour switch signal). Raises the StopwatchHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsSwSoundHourBell).
|
inlineprotectedvirtual |
Updates initial TimeSpan of the countdown in such a way that it corresponds to its initial hours, minutes, seconds, and miilliseconds.
|
inlineprotectedvirtual |
Updates initial hours, minutes, seconds, and milliseconds of the countdown in such a way that they correspond to its intial TimeSpan.
References IG.Num.M.floor().
|
inlineprotectedvirtual |
Refreshes countdown's display according to elapsed time.
References IG.Num.M.floor().
|
inlineprotectedvirtual |
Updates countdown controls according to internal properties.
|
inlineprotectedvirtual |
Updates appearance of the stopwatch buttons.
|
inlineprivate |
Toggles between open / closed control panel for the countdown.
sender | |
e |
|
inlineprivate |
Toggles silent mode.
|
inlineprivate |
References IG.Forms.FontEventArgs.Font.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotectedvirtual |
Called when the timer event fires (very often, in the range of milliseconds). Raises the CountdownTimerTick event and updates the display.
Sounds can not be assigned to this event.
|
inlinevirtual |
Starts (if it is not running) or stops (if it is running) the countdown.
|
inlinevirtual |
Starts the countdown timer.
Its internal stopwatch starts running and the CountdownStarted event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsCdSoundButtons
If the countdown is already runninng or it has already finished, call to this function has no effect.
|
inlinevirtual |
Stops the countdown timer.
Its internal stopwatch stops running and the CountdownStopped event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsCdSoundButtons)
If the countdown is paused or it has already finished, call to this function has no effect.
|
inlineprotectedvirtual |
Resets the countdown.
Its internal stopwatch stops running (if it runs) and the CountdownReset event is raised.
Eventually the appropriate sound is played (if not IsSilent and if IsCdSoundButtons)
|
inlineprotectedvirtual |
Called when the countdown reaches 0 and stops counting down. Raises the CountdownFinished event and eventually plays the appropriate alarm (if not IsSilent and if IsCdSoundAlarm).
|
inlineprotectedvirtual |
Called when the countdown seconds count reaches a whole value (seconds tick). Raises the CountdownSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsCdSoundSecondTick).
|
inlineprotectedvirtual |
Called when the countdown minutes count reaches a whole value (minutes signal). Raises the CountdownMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsCdSoundMinuteBell).
|
inlineprotectedvirtual |
Called when the countdown hours count reaches a whole value (hours signal). Raises the CountdownHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsCdSoundHourBell).
|
inlineprotectedvirtual |
Updates clock controls according to internal properties.
|
inlineprotectedvirtual |
Updates appearance of the clock buttons.
|
inlineprotectedvirtual |
Refreshes Clock's display according to the current time.
|
inlineprotectedvirtual |
Called when the timer event fires (very often, in the range of milliseconds). Raises the ClockTimerTick event and updates the display.
Sounds can not be assigned to this event.
|
inlineprotectedvirtual |
Called when the clock seconds count reaches a whole value (seconds tick). Raises the ClockSecondTick event and eventually plays the appropriate "second tick" sound (if not IsSilent and if IsClockSoundSecondTick).
|
inlineprotectedvirtual |
Called when the clock minutes count reaches a whole value (minutes signal). Raises the ClockMinuteBell event and eventually plays the appropriate "minutes bell" sound (if not IsSilent and if IsClockSoundMinuteBell).
|
inlineprotectedvirtual |
Called when the clock hours count reaches a whole value (hours signal). Raises the ClockHourBell event and eventually plays the appropriate "hours bell" sound (if not IsSilent and if IsClockSoundHourBell).
|
inlineprivate |
Tries to adapt control settings in such a way that crucial controls are visible in the Linux version compiled with Mono.
Problem is that Mono's implementation of WinForms is not absolutely complete reproduction of oriiginal WinForms.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Stopwatch becomes the main gadget.
|
inlineprivate |
Hides / shows stopwatch.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
staticprivate |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
Whether hours shoulld be shown when they are zero.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Background color for stopwatch stop button.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
Default maximal number of times a report about timer tick exception is launched.
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Whether hours shoulld be shown on countdown when they are zero.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Background color for stopwatch stop button.
|
private |
Background color for countdown reset button.
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
get |
Gets a reporter for the current control.
|
staticgetset |
Default output level for this class of objects.
|
getsetprivate |
Current output level for the current object.
Latger the value more console output is generated.
|
getsetprotected |
|
getsetprotected |
|
get |
Gets the sound player for playing sound when a start button is pressed. Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing sound when the stop button is pressed. Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing sound when the resett button is pressed. Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing sound when another second passes (a second tick). Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing sound when another minute passes (a minute bell). Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing sound when another hour passes (a hour bell). Player is pre-laded with the appropriate sound.
|
get |
Gets the sound player for playing alarm when countdown finishes. Player is pre-laded with the appropriate sound.
|
getset |
Whether a tick sound is switched on (launched every second when the stopwatch is running).
|
getset |
Whether a minutes bell sound is switched on (launched every minute when the stopwatch is running).
|
getset |
Whether a hour bell sound is switched on (launched every hour when the stopwatch is running).
|
getset |
Whether the stopwatch's button sound is switched on (launched every time a stopwatch button with some effect is pressed, or the same effect is achieved programatically).
|
getset |
Whether the countdown's tick sound is switched on (a sound launched every second when the countdown is running).
|
getset |
Whether the countdown's minute bell sound is switched on (a sound launched every minute when the countdown is running).
|
getset |
Whether the countdown's hpur bell sound is switched on (a sound launched every hour when the countdown is running).
|
getset |
Whether the countdown's tick sound is switched on (a sound launched every second when the countdown is running).
|
getset |
Whether the countdown's minute bell sound is switched on (a sound launched every minute when the countdown is running).
|
getset |
Whether the countdown's hpur bell sound is switched on (a sound launched every hour when the countdown is running).
|
get |
Indicates whether the timer is currently running or not.
True is returned if either a stopwatch is running, a countdown is running, or the current time is displayed.
|
getsetprotected |
Timer interval, in Milliseconds.
|
getset |
Flag specifying whether the complete timer is in a silent mode.
|
getprotected |
Stopwatch used to measure elapsed time for the displayed stopwatch.
|
get |
Indicates whether the countdown timer is running or not.
|
getset |
Specifies whether the stopwatch is shown or not.
|
getset |
Specifies whether the stopwatch is the main gadget of the three.
|
get |
Gets the current time span measured by the stopwatch.
|
get |
Gets the current time span measured by the stopwatch.
|
getsetprotected |
Font used in timer's displays for milliseconds.
|
getsetprotected |
Font used in timerr's displays.
|
getset |
Ratio between the size of millisecond digits and other digits on the stopwatch.
|
getprotected set |
Minimal size of display font, in points.
|
getset |
Whether milliseconds shoulld be shown.
|
getset |
|
getset |
Background color for main timer title.
|
getset |
Foreground color for main timer title.
|
getset |
Background color for timer title - not main.
|
getset |
Foreground color for main timer title.
|
getset |
|
getset |
|
get |
|
getprotected set |
Display background color.
|
getprotected set |
Display foreground color.
|
getset |
Text that is written on the stopwatch start button.
|
getset |
|
getprotected set |
|
getprotected set |
Background color for stopwatch start button.
|
getprotected set |
|
getprotected set |
Background color for stopwatch reset button.
|
getprotected set |
Foreground color for controls opener when controls are closed.
|
getprotected set |
Foreground color for controls opener when controls are opened.
|
getprotected set |
Tect for controls opener when controls are closed.
|
getprotected set |
Tect for controls opener when controls are opened.
|
getprotected set |
Wheether controls are opened or not.
|
getsetprotected |
Macimal number of times a report on exception thrown within the timer tick event can be launched.
|
getsetprotected |
Number of times a report on exception thrown within the timer tick event has already been launched.
|
getprotected |
Stopwatch used to measure elapsed time for the displayed cowntdown.
|
get |
Indicates whether the countdown timer is running or not.
|
getset |
Specifies whether the countdown timer is shown or not.
|
getset |
Specifies whether the countdown timer is the main gadget of the three.
|
get |
Gets the current total time span measured by the countdown's stopwatch.
|
get |
Gets the current time span measured by the countdown's stopwatch.
|
get |
Gets Countdown's remaining time span.
|
get |
Returns Countdown's remaining time in seconds.
|
getsetprotected |
Number of hours initially set in countdown.
|
getsetprotected |
Number of minutes initially set in countdown.
|
getsetprotected |
Number of seconds initially set in countdown.
|
getsetprotected |
Number of milliseconds initially set in countdown.
|
getsetprotected |
Initial time span set in countdown.
|
getset |
Whether milliseconds shoulld be shown on countdown.
|
getset |
|
getset |
Whether the countdown's button sound is switched on (a sound launched every time a countdown button with some effectt is pressed, or the same effect is achieved programatically).
|
getset |
Whether a countdown's alarm sound is switched on (launched when the countdown is finished, i.e. the countdown reachhes zero).
|
getset |
Text that is written on the stopwatch start button.
|
getset |
|
getprotected set |
|
getprotected set |
Background color for stopwatch start button.
|
getprotected set |
|
getprotected set |
|
getprotected set |
Wheether controls are opened or not.
|
getprivate |
Wallclock time as it was last looked up.
|
getprotected set |
Whether the clock is currently running or not.
|
getset |
Specifies whether the clock is shown or not.
|
getset |
Specifies whether the clock is the main gadget of the three.
EventHandler IG.Forms.TimerControl.StopwatchTimerTick |
Event that is fired on each stopwatch's timer tick (very often, in the range of milliseconds).
This event is usually useful for debugging or for very fine control.
EventHandler IG.Forms.TimerControl.StopwatchStarted |
Event that is fired when the stopwatch starts.
EventHandler IG.Forms.TimerControl.StopwatchStopped |
Event that is fired when the stopwatch stops.
EventHandler IG.Forms.TimerControl.StopwatchReset |
Event that is raised when the counter is reset.
EventHandler IG.Forms.TimerControl.StopwatchSecondTick |
Event that is fired when second count changes to a whole value (seconds tick).
EventHandler IG.Forms.TimerControl.StopwatchMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal).
EventHandler IG.Forms.TimerControl.StopwatchHourBell |
Event that is fired when minutes count changes to a whole value (minute switch signal).
EventHandler IG.Forms.TimerControl.CountdownTimerTick |
Event that is fired on each countdown's timer tick (very often, in the range of milliseconds).
This event is usually usef for debugging or for very fine control.
EventHandler IG.Forms.TimerControl.CountdownStarted |
Event that is fired when the countdown starts.
EventHandler IG.Forms.TimerControl.CountdownStopped |
Event that is fired when the countdown stops.
EventHandler IG.Forms.TimerControl.CountdownReset |
Event that is raised when the counter is reset.
EventHandler IG.Forms.TimerControl.CountdownFinished |
Event that is fired when the countdown reaches 0.
EventHandler IG.Forms.TimerControl.CountdownSecondTick |
Event that is fired when second count changes to a whole value (seconds tick).
EventHandler IG.Forms.TimerControl.CountdownMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal).
EventHandler IG.Forms.TimerControl.CountdownHourBell |
Event that is fired when gours count changes to a whole value (hours signal).
EventHandler IG.Forms.TimerControl.ClockTimerTick |
Event that is fired on each clock's timer tick (very often, in the range of milliseconds).
This event is usually usef for debugging or for very fine control.
EventHandler IG.Forms.TimerControl.ClockSecondTick |
Event that is fired when second count changes to a whole value (seconds tick).
EventHandler IG.Forms.TimerControl.ClockMinuteBell |
Event that is fired when minutes count changes to a whole value (minutes signal).
EventHandler IG.Forms.TimerControl.ClockHourBell |
Event that is fired when gours count changes to a whole value (hours signal).