예제 #1
0
        public void Start()
        {
            foreach (UIElement element in BarsStackPanel.Children)
            {
                Bar bar = element as Bar;
                bar.Start();
            }

            micophonePanel.StartAnimation();

            _timer.Start();
        }
예제 #2
0
        public void Start(DateTime dateTime)
        {
            foreach (UIElement element in BarsStackPanel.Children)
            {
                Bar bar = element as Bar;
                bar.Start();
            }

            _viewModel.StartRecording(dateTime);

            _timeoutTimer.Start();

            _isApproach             = false;
            _approachTimer.Interval = TimeSpan.FromMinutes(ApproachTimer);
            _approachTimer.Start();
        }