public static void PlaySong(string songFile, string songName, bool tutorial) { main.Show(); if (tutorial) { main.Hide(); } main.Activate(); Gestures.Load(); MIDI.LoadSong(songFile, songName); }
private void WindowLoaded(object sender, RoutedEventArgs e) { // Hide this window Hide(); // Load components Gestures.Load(); MIDI.Load(); // Start reading once the song is loaded new Thread(ReadCSV).Start(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); Dispatch.Load(); Kinect.Load(); MIDI.Load(); startScreen = new StartScreen(); songSelect = new SongSelectWindow(); main = new MainWindow(); ShowStartScreen(); }