예제 #1
0
        public static FormSong StartInstance(DirectoryInfo chartPath)
        {
            if (_instance == null)
            {
                _instance = new FormSong(chartPath);
            }

            return(_instance);
        }
예제 #2
0
        private void ButtonPlay_Click(object sender, EventArgs e)
        {
            FormSong fs = FormSong.StartInstance(songs[listBoxSongs.SelectedIndex]);

            fs.Show();
        }
예제 #3
0
 private static void StopInstance()
 {
     _instance = null;
 }