Пример #1
0
 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
 }
Пример #2
0
 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
 }