示例#1
0
        public void Add(PrintableThing pThing)
        {
            if (CurrentLine.Empty)
            {
                CurrentLine.Things.RemoveAt(0);
                CurrentLine.Empty = false;
            }

            CurrentLine.Add(pThing);
            CurrentFont = pThing.Font;
        }
示例#2
0
 public void SetCurrentLine(Move m)
 {
     if (this.Flags.HasVariations)
     {
         CurrentLine = Moves.GetParents(m);
         if (CurrentLine == null)
         {
             CurrentLine = new Moves();
             CurrentLine.Add(m);
         }
         else
         {
             CurrentLine.Add(m);
         }
     }
     else
     {
         CurrentLine = Moves;
     }
 }