예제 #1
0
 private void Window_Loaded_1(object sender, RoutedEventArgs e)
 {
     InitDrawing();
     Gestures.Load();
     Dispatch.SkeletonMoved += SkeletonMoved;
     Dispatch.TriggerLock(false);
 }
예제 #2
0
        public static void ShowStartScreen()
        {
            Gestures.Unload();
            Dispatch.TriggerStop();

            startScreen.Show();
            startScreen.Activate();
        }
예제 #3
0
        public static void SelectSong()
        {
            Gestures.Unload();
            Dispatch.TriggerStop();

            songSelect.Show();
            songSelect.Activate();
        }
예제 #4
0
 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();
        }