public void Start() { foreach (UIElement element in BarsStackPanel.Children) { Bar bar = element as Bar; bar.Start(); } micophonePanel.StartAnimation(); _timer.Start(); }
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(); }