private void ShowLastButton_Click(object sender, RoutedEventArgs e) { var last = MultipleSerieses ? AnimationSeries.Count - 1 : Moving.Count - 1; PlotAnimation.CurrentIteration = last; PlotAnimation.Pause(); }
private void PauseButton_Click(object sender, RoutedEventArgs e) { if (PlotAnimation.IsRunning) { PlotAnimation.Pause(); } else { PlotAnimation.Resume(); } }
private void ShowFirstButton_Click(object sender, RoutedEventArgs e) { PlotAnimation.CurrentIteration = 0; PlotAnimation.Pause(); }