Пример #1
0
        public void Stop()
        {
            foreach (UIElement element in BarsStackPanel.Children)
            {
                Bar bar = element as Bar;
                bar.Stop();
            }

            micophonePanel.StopAnimation();

            _timer.Stop();
            statusTextBlock.Text = AppResources.PauseText;
        }
Пример #2
0
        public void Stop()
        {
            foreach (UIElement element in BarsStackPanel.Children)
            {
                Bar bar = element as Bar;
                bar.Stop();
            }

            _viewModel.StopRecording();

            _timeoutTimer.Stop();

            _approachTimer.Stop();
            timeTextBlock.Foreground = BlackBrush;
        }