DigitalClockDisplay.DigitalClockDisplay C# (CSharp) Method

DigitalClockDisplay() public method

public DigitalClockDisplay ( bool is24Hour, bool suppressExtra ) : System
is24Hour bool
suppressExtra bool
return System
	public DigitalClockDisplay(bool is24Hour, bool suppressExtra)
	{
        f24Hour = is24Hour;
		fSuppress = suppressExtra;
		fSegmentedNumber = new SegmentedNumber();

        ptColon = new Point[2][];
        ptColon[0] = new Point[] { new Point(2, 21), new Point(6, 17), new Point(10, 21), new Point(6, 25) };
        ptColon[1] = new Point[] { new Point(2, 51), new Point(6, 47), new Point(10, 51), new Point(6, 55) };

        fcolonPolies = new PolygonG[2];
        fcolonPolies[0] = new PolygonG(ptColon[0]);
        fcolonPolies[1] = new PolygonG(ptColon[1]);

        fLastTime = new SYSTEMTIME();
        fThisTime = new SYSTEMTIME();
    }