/// <summary>
        /// Main Constructor
        /// </summary>
        /// <param name="solidBars">The solid bars.</param>
        /// <param name="smoothing">The smoothing.</param>
        /// <param name="textrendering">The textrendering.</param>
        /// <param name="easingType">Type of the easing.</param>
        /// <param name="transparencyEasingType">Type of the transparency easing.</param>
        /// <param name="hatchBrushType">Type of the hatch brush.</param>
        /// <param name="autoAnimate">if set to <c>true</c> [automatic animate].</param>
        /// <param name="autoIncrement">if set to <c>true</c> [automatic increment].</param>
        /// <param name="autoAnimateStatingAngle">if set to <c>true</c> [automatic animate stating angle].</param>
        /// <param name="showText">if set to <c>true</c> [show text].</param>
        /// <param name="fixedSize">if set to <c>true</c> [fixed size].</param>
        /// <param name="postFix">The post fix.</param>
        /// <param name="hatchBrushgradient1">The hatch brushgradient1.</param>
        /// <param name="hatchBrushgradient2">The hatch brushgradient2.</param>
        /// <param name="minimum">The minimum.</param>
        /// <param name="maximum">The maximum.</param>
        /// <param name="speed2">The speed2.</param>
        /// <param name="speed0">The speed0.</param>
        /// <param name="speed1">The speed1.</param>
        /// <param name="startingAngle">The starting angle.</param>
        public ProgressInput(
            //ProgressType progressType,
            ProgressBar solidBars,
            //ProgressBar solidBars,
            ////ProgressBar solidBars,
            SmoothingMode smoothing,
            TextRenderingHint textrendering,
            PeaceAnimatorEasing easingType,
            transparencyEasingType transparencyEasingType,
            ZeroitThematicProgress.HatchBrushType hatchBrushType,
            bool autoAnimate,
            bool autoIncrement,
            bool autoAnimateStatingAngle,
            bool showText,
            bool fixedSize,
            string postFix,
            Color hatchBrushgradient1,
            Color hatchBrushgradient2,
            float minimum,
            float maximum,
            int speed2,
            int speed0,
            int speed1,
            float startingAngle

            )
        {
            //this.progressType = progressType;
            this.solidBars = solidBars;
            //this.solidBars = solidBars;
            ////this.solidBars = solidBars;
            this.smoothing               = smoothing;
            this.textrendering           = textrendering;
            this.easingType              = easingType;
            this.transparencyEasingType  = transparencyEasingType;
            this.hatchBrushType          = hatchBrushType;
            this.autoAnimate             = autoAnimate;
            this.autoIncrement           = autoIncrement;
            this.autoAnimateStatingAngle = autoAnimateStatingAngle;
            this.showText            = showText;
            this.fixedSize           = fixedSize;
            this.postFix             = postFix;
            this.hatchBrushgradient1 = hatchBrushgradient1;
            this.hatchBrushgradient2 = hatchBrushgradient2;
            this.minimum             = minimum;
            this.maximum             = maximum;
            this.speed[2]            = speed2;
            this.speed[0]            = speed0;
            this.speed[1]            = speed1;
            this.startingAngle       = startingAngle;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ProgressInput"/> class.
        /// </summary>
        /// <param name="info">The information.</param>
        /// <param name="context">The context.</param>
        public ProgressInput(SerializationInfo info, StreamingContext context)
        {
            solidBars                = (ProgressBar)info.GetValue("solidBars", typeof(ProgressBar));
            fixedSize                = info.GetBoolean("fixedSize");
            allowTransparency        = info.GetBoolean("allowTransparency");
            autoIncrement            = info.GetBoolean("autoIncrement");
            transparencyAnimatorGlow = info.GetBoolean("transparencyAnimatorGlow");
            showText                = info.GetBoolean("showText");
            startingAngle           = (float)info.GetValue("startingAngle", typeof(float));
            value                   = (float)info.GetValue("value", typeof(float));
            maximum                 = (float)info.GetValue("maximum", typeof(float));
            minimum                 = (float)info.GetValue("minimum", typeof(float));
            speed                   = (int[])info.GetValue("speed", typeof(int[]));
            transparency            = info.GetInt32("transparency");
            drawingMode             = (drawMode)info.GetValue("drawingMode", typeof(drawMode));
            easingType              = (PeaceAnimatorEasing)info.GetValue("easingType", typeof(PeaceAnimatorEasing));
            transparencyEasingType  = (transparencyEasingType)info.GetValue("transparencyEasingType", typeof(transparencyEasingType));
            postFix                 = info.GetString("postFix");
            hatchBrushgradient1     = (Color)info.GetValue("hatchBrushgradient1", typeof(Color));
            hatchBrushgradient2     = (Color)info.GetValue("hatchBrushgradient2", typeof(Color));
            hatchBrushType          = (ZeroitThematicProgress.HatchBrushType)info.GetValue("hatchBrushType", typeof(ZeroitThematicProgress.HatchBrushType));
            autoAnimate             = info.GetBoolean("autoAnimate");
            autoAnimateStatingAngle = info.GetBoolean("autoAnimateStatingAngle");

            //#region ProgressPerfect


            //ProgressPerfect_interval = info.GetInt32("ProgressPerfect_interval");
            //ProgressPerfect_circleColor = (Color)info.GetValue("ProgressPerfect_circleColor", typeof(Color));
            //ProgressPerfect_circleSize = (float)info.GetValue("ProgressPerfect_circleSize", typeof(float));
            //_numberOfCircles = (float)info.GetValue("_numberOfCircles", typeof(float));
            //_numberOfVisibleCircles = info.GetInt32("_numberOfVisibleCircles");
            //ProgressPerfect_rotation = (RotationType1)info.GetValue("ProgressPerfect_rotation", typeof(RotationType1));
            //ProgressPerfect_percentage = (float)info.GetValue("ProgressPerfect_percentage", typeof(float));
            //ProgressPerfect_showPercentage = info.GetBoolean("ProgressPerfect_showPercentage");
            //ProgressBarPerfect_showText = info.GetBoolean("ProgressBarPerfect_showText");
            //ProgressPerfect_textDisplay = (TextDisplayModes1)info.GetValue("ProgressPerfect_textDisplay", typeof(TextDisplayModes1));
            //ProgressBarPerfect_customText = (string)info.GetValue("ProgressBarPerfect_customText", typeof(string));

            //#endregion
        }