示例#1
0
	void DisplayTwoDigits(IGraphPort graphPort, int iNumber, bool suppress)
	{
			if (!suppress || (iNumber / 10 != 0))
				SegmentedNumber.DisplayDigit(graphPort, iNumber / 10);

            graphPort.OffsetWindowOrigin(-42, 0);
            SegmentedNumber.DisplayDigit(graphPort, iNumber % 10);
            graphPort.OffsetWindowOrigin(-42, 0);	
	}
示例#2
0
    void DisplayColon(IGraphPort graphPort)
    {
        graphPort.Polygon(fcolonPolies[0].Points);
        graphPort.Polygon(fcolonPolies[1].Points);

        graphPort.OffsetWindowOrigin(-12, 0);
    }