public DistributeSettingsDialog(PositionsLabSettings.DistributeReferenceObject distributeReference,
                                        PositionsLabSettings.DistributeRadialReferenceObject radialReference,
                                        PositionsLabSettings.DistributeSpaceReferenceObject spaceReference,
                                        PositionsLabSettings.RadialShapeOrientationObject orientationReference)
            : this()
        {
            switch (distributeReference)
            {
            case PositionsLabSettings.DistributeReferenceObject.Slide:
                distributeToSlideButton.IsChecked = true;
                break;

            case PositionsLabSettings.DistributeReferenceObject.FirstShape:
                distributeToFirstShapeButton.IsChecked = true;
                break;

            case PositionsLabSettings.DistributeReferenceObject.FirstTwoShapes:
                distributeToFirstTwoShapesButton.IsChecked = true;
                break;

            case PositionsLabSettings.DistributeReferenceObject.ExtremeShapes:
                distributeToExtremeShapesButton.IsChecked = true;
                break;
            }

            switch (radialReference)
            {
            case PositionsLabSettings.DistributeRadialReferenceObject.AtSecondShape:
                distributeAtSecondShapeButton.IsChecked = true;
                break;

            case PositionsLabSettings.DistributeRadialReferenceObject.SecondThirdShape:
                distributeToSecondThirdShapeButton.IsChecked = true;
                break;
            }

            switch (spaceReference)
            {
            case PositionsLabSettings.DistributeSpaceReferenceObject.ObjectBoundary:
                distributeByBoundariesButton.IsChecked = true;
                break;

            case PositionsLabSettings.DistributeSpaceReferenceObject.ObjectCenter:
                distributeByShapeCenterButton.IsChecked = true;
                break;
            }

            switch (orientationReference)
            {
            case PositionsLabSettings.RadialShapeOrientationObject.Fixed:
                distributeShapeOrientationFixedButton.IsChecked = true;
                break;

            case PositionsLabSettings.RadialShapeOrientationObject.Dynamic:
                distributeShapeOrientationDynamicButton.IsChecked = true;
                break;
            }
        }
        public ReorientSettingsDialog(PositionsLabSettings.RadialShapeOrientationObject reorientShapeOrientation)
            : this()
        {
            switch (reorientShapeOrientation)
            {
            case PositionsLabSettings.RadialShapeOrientationObject.Fixed:
                reorientShapeOrientationFixedButton.IsChecked = true;
                break;

            case PositionsLabSettings.RadialShapeOrientationObject.Dynamic:
                reorientShapeOrientationDynamicButton.IsChecked = true;
                break;
            }
        }