private void Form1_DragDrop(object sender, DragEventArgs e) { string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); SongUtil.LoadSongList(this, files); // Attempt to load the song list from the dropped files }
private void loadFileToolStripMenuItem_Click(object sender, EventArgs e) { string[] files = { Properties.Settings.Default.outputPath }; SongUtil.LoadSongList(this, files); // Attempt to load song list from the settings path }