예제 #1
0
 private void button_Load_Click(object sender, RoutedEventArgs e)
 {
     foreach (TrackModel track in TraksListView.Items)
     {
         TrackModels.Add(track);
     }
 }
예제 #2
0
 private void button_Play_Click(object sender, RoutedEventArgs e)
 {
     if (PlayListView.SelectedItem is TrackModel track)
     {
         SelectedTrack = track;
         TrackModels.Add(track);
         Searcallhgrid.Children.Clear();
         Searcallhgrid.Children.Add(new Player());
     }
 }