//Handle Exited event static void audiosurf_Exited(object sender, System.EventArgs e) { processRunning = false; parent.SetLabelStatus(ProcessStatus()); // Set the label to the process status string[] files = { Properties.Settings.Default.outputPath }; SongUtil.LoadSongList(parent, files); //Console.WriteLine("Audiosurf EXITED."); }
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 }