private void PartsSegmentsDraw(Dictionary <string, List <MeasureSegmentController> > measuresList, LayoutSystemInfo layoutInfo)
 {
     _partsSegments    = new Dictionary <string, PartSegmentDrawing>();
     _partSystemCanvas = new Canvas();
     foreach (var partId in _partIDsList)
     {
         PartSegmentDrawing partSegment = new PartSegmentDrawing(measuresList[partId], partId, layoutInfo);
         _partsSegments.Add(partId, partSegment);
         partSegment.GenerateContent(true, layoutInfo);
         PartSystemCanvas.Children.Add(partSegment.PartSegmentCanvas);
     }
     ArrangeMeasureContent(true);
 }
 private void PartsSegmentsDraw()
 {
     _partsSegments    = new Dictionary <string, PartSegmentDrawing>();
     _partSystemCanvas = new Canvas();
     foreach (var partId in _partIDsList)
     {
         PartSegmentDrawing partSegment = new PartSegmentDrawing(_measuresList, partId, _partsPropertiesList[partId], _systemIndex, _pageIndex);
         _partsSegments.Add(partId, partSegment);
         partSegment.GenerateContent();
         PartSystemCanvas.Children.Add(partSegment.PartSegmentCanvas);
     }
     CalculatePositions();
     ArrangeMeasureContent(false);
 }