private void LocalCamera_Loaded(object sender, RoutedEventArgs e) { InitializeCaptureButtonsTimer(); ThreadingHelper.DispatcherSleepAsync(TimeSpan.FromSeconds(3), () => ButtonsZoomStoryboard.Begin()); }
private void captureButtonsTimer_Tick(object sender, EventArgs e) { // Slow down the interval at which the animation occurs, so that folks don't get too annoyed. _captureButtonsTimer.Interval += TimeSpan.FromSeconds(15); ButtonsZoomStoryboard.Begin(); }