public GraphicalToothChart() { InitializeComponent(); WidthProjection = 130; ListToothGraphics = new ToothGraphicCollection(); ALSelectedTeeth = new ArrayList(); ResetControls(); }
///<summary></summary> public ToothGraphicCollection Copy() { ToothGraphicCollection collect = new ToothGraphicCollection(); for (int i = 0; i < this.Count; i++) { collect.Add(this[i].Copy()); } return(collect); }
public ToothChartData() { ListToothGraphics=new ToothGraphicCollection(); ColorBackground=Color.FromArgb(150,145,152);//defaults to gray ColorText=Color.White; ColorTextHighlight=Color.Red; ColorBackHighlight=Color.White; selectedTeeth=new List<string>(); sizeControl=SizeOriginalDrawing; DrawingSegmentList=new List<ToothInitial>(); CursorTool=CursorTool.Pointer; ColorDrawing=Color.Black; Font=new System.Drawing.Font(FontFamily.GenericSansSerif,8.25f); PointList=new List<Point>(); ListPerioMeasure=new List<PerioMeasure>(); }
///<summary></summary> public ToothGraphicCollection Copy() { ToothGraphicCollection collect=new ToothGraphicCollection(); for(int i=0;i<this.Count;i++) { collect.Add(this[i].Copy()); } return collect; }