public static void Initialize()
        {
            Command command = Command.Create(commandName);

            command.ControlState = SliderState.Create(1, 1, sliderTicks);
            Value = startRadius;
        }
Beispiel #2
0
        public static void Update(double value)
        {
            var state = (SliderState)SliderCommand.ControlState;
            int v     = (int)Math.Round(value * sliderLength);

            v = Math.Max(v, sliderStart);
            v = Math.Min(v, sliderEnd);
            SliderCommand.ControlState = SliderState.Create(v, sliderStart, sliderEnd);
            LabelCommand.Text          = AnimationTool.Time.ToString("F3");
        }
        public static void Initialize()
        {
            Command command = Command.Create(commandName);

            command.ControlState = SliderState.Create(0, -scale, scale);
        }
        public static void Initialize()
        {
            Command command = Command.Create(commandName);

            command.ControlState = SliderState.Create(startCount, 3, sliderScale);
        }