public CustomStroke(StylusPointCollection pts, CustomStrokeCollection strokes) : base(pts) { this.strokes = strokes; Id = Guid.NewGuid(); this.Index = strokes.Count > 0 ? ((CustomStroke)strokes.Last()).Index + 1 : 1; }
public CustomStroke(StylusPointCollection pts, CustomStrokeCollection strokes) : base(pts) { this.strokes = strokes; Id = Guid.NewGuid(); this.Index = strokes.Count > 0 ? ((CustomStroke)strokes.Last()).Index + 1 : 1; }