private void btnNewTracklist_Click(object sender, RoutedEventArgs e) { if (!txtMinutes.Value.HasValue) { MessageBox.Show("Please select number of minutes first"); return; } int minutes = txtMinutes.Value.Value; tracklist = new TrackList(minutes * 60); SuggestNextTrack(); }
public M3UCreator(TrackList trackListArg) { this.tracklist = trackListArg; }