Exemplo n.º 1
0
        private void ResetAnimationControl()
        {
            int frames = _fullXromm.NumPositionsPerTrial[_currentTrialIndex];

            _animationControl.StopTimer();
            _animationControl.setupController(frames);
            _animationControl.PlayButtonEnabled = (frames > 1); //no play button if only 1 frame!
            _animationControl.Enabled           = (frames > 1);
            _animationControl.StopButtonEnabled = false;
        }