Example #1
0
        protected override void Reset()
        {
            // resetto i valori non UserInputed
            if (!X.IsUserInputed)
            {
                X.SetValue(false, null);
            }

            if (!DeltaX.IsUserInputed)
            {
                DeltaX.SetValue(false, null);
            }

            if (!Y.IsUserInputed)
            {
                Y.SetValue(false, null);
            }

            if (!DeltaY.IsUserInputed)
            {
                DeltaY.SetValue(false, null);
            }

            if (!Angle.IsUserInputed)
            {
                Angle.SetValue(false, null);
            }
        }
Example #2
0
        //#region Temporary Field

        //private Point2D _tempTeoricaFinalPnt = null;
        //private Point2D _prevTeoricalPnt = null;

        //#endregion
        protected override void Reset()
        {
            // resetto i valori non UserInputed
            if (!X.IsUserInputed)
            {
                X.SetValue(false, null);
            }

            if (!DeltaX.IsUserInputed)
            {
                DeltaX.SetValue(false, null);
            }

            if (!Y.IsUserInputed)
            {
                Y.SetValue(false, null);
            }

            if (!DeltaY.IsUserInputed)
            {
                DeltaY.SetValue(false, null);
            }

            if (!CenterX.IsUserInputed)
            {
                CenterX.SetValue(false, null);
            }

            if (!CenterY.IsUserInputed)
            {
                CenterY.SetValue(false, null);
            }

            if (!Radius.IsUserInputed)
            {
                Radius.SetValue(false, null);
            }
        }