//添加线段 public void AddLines() { CustomLine customLine = new CustomLine(); customLines.Add(customLine); }