public void Add(PrintableThing pThing) { if (CurrentLine.Empty) { CurrentLine.Things.RemoveAt(0); CurrentLine.Empty = false; } CurrentLine.Add(pThing); CurrentFont = pThing.Font; }
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; } }