public PlaybackControl()
 {
     InitializeComponent();
     DataContext       = this;
     ShuffleAllCommand = new Command(() => ShuffleAll?.Invoke(this, EventArgs.Empty));
     PlayAllCommand    = new Command(() => PlayAll?.Invoke(this, EventArgs.Empty));
 }
Exemple #2
0
 private void ShuffleAll_Click(object sender, RoutedEventArgs e)
 {
     ShuffleAll?.Invoke(this, EventArgs.Empty);
     ShuffleAllCommand?.Execute(EventArgs.Empty);
 }