C# Class DigitalClockDisplay, NewTOAPIA

Inheritance: IDrawable
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
DigitalClockDisplay ( bool is24Hour, bool suppressExtra ) : System
Draw ( DrawEvent devent ) : void
OnDraw ( DrawEvent devent ) : void

Private Methods

Method Description
DisplayColon ( IGraphPort graphPort ) : void
DisplayTwoDigits ( IGraphPort graphPort, int iNumber, bool suppress ) : void
DrawHour ( IGraphPort graphPort ) : void
DrawMinutes ( IGraphPort graphPort ) : void
DrawSeconds ( IGraphPort graphPort ) : void

Method Details

DigitalClockDisplay() public method

public DigitalClockDisplay ( bool is24Hour, bool suppressExtra ) : System
is24Hour bool
suppressExtra bool
return System

Draw() public method

public Draw ( DrawEvent devent ) : void
devent NewTOAPIA.UI.DrawEvent
return void

OnDraw() public method

public OnDraw ( DrawEvent devent ) : void
devent NewTOAPIA.UI.DrawEvent
return void