Ejemplo n.º 1
0
        public void Reset()
        {
            ((DoubleAnimation)QuadrantRotation.Children[0]).From     = 0;
            ((DoubleAnimation)QuadrantRotation.Children[0]).To       = 0;
            ((DoubleAnimation)QuadrantRotation.Children[0]).Duration = new Duration(TimeSpan.FromSeconds(0.1));
            QuadrantRotation.ClearValue(Storyboard.BeginTimeProperty);
            QuadrantRotation.Begin();

            NWDot.Reset();
            NDot.Reset();
            NEDot.Reset();
            WDot.Reset();
            CenterDot.Reset();
            EDot.Reset();
            SWDot.Reset();
            SDot.Reset();
            SEDot.Reset();
        }