private void mnuJumpToFirstBeat_Click(object sender, RoutedEventArgs e) { if (Beats == null) { return; } if (Beats.Count == 0) { return; } TimeSpan beat = Beats.First(); videoPlayer.SetPosition(beat); }