Ejemplo n.º 1
0
        private void SetSegments(string pInput, ref List <ImageLayers> pSegments)
        {
            for (int i = 0; i < pSegments.Count; i++)
            {
                SevenSegment.Blank(pSegments[i]);
            }

            for (int i = 0; i < pInput.Length; i++)
            {
                if (i >= pSegments.Count)
                {
                    return;
                }

                char cur = pInput[i];
                SetSegment(cur, pSegments[i]);
            }
        }
Ejemplo n.º 2
0
 static private void SetSegment(char pInput, ImageLayers pSegment)
 {
     SevenSegment.SetSegment(pInput, ref pSegment);
 }