public void AddSongs(Powerhour Powerhour) { var openFilesDialog = new OpenFileDialog { Filter = "MP3 (.mp3)|*.mp3", Multiselect = true }; if (openFilesDialog.ShowDialog() == true) { foreach (var file in openFilesDialog.Files) { var song = new Song(file.FullName); var songSample = new SongSample(song); Powerhour.SongSamples.Add(songSample); } } }
public SongSample(Song Song) : this(Song, 0, 60) { }
public SongSample(Song Song, int Start, int End) { this.Song = Song; this.Start = Start; this.End = End; }