Exemplo n.º 1
0
        //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.");
        }
Exemplo n.º 2
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
 }
Exemplo n.º 3
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
 }