Beispiel #1
0
        public static PrintItem PrintAndAdvance(List <string> lines, PrintItem Item)
        {
            PrintItem nextItem   = Item;
            var       nextRowCol = Item.RowCol;

            if (Item.EndRowCol != null)
            {
                nextRowCol = Item.EndRowCol.Advance(1);
            }

            var s1 = Item.ToDetailLine();

            lines.Add(s1);

            nextItem = new PrintItem((OneRowCol)nextRowCol);

            return(nextItem);
        }
Beispiel #2
0
        private static void PrintDetailLine(List <string> lines, PrintItem Item)
        {
            var s1 = Item.ToDetailLine();

            lines.Add(s1);
        }