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

            startScreen.Show();
            startScreen.Activate();
        }
Esempio n. 3
0
        public static void SelectSong()
        {
            Gestures.Unload();
            Dispatch.TriggerStop();

            songSelect.Show();
            songSelect.Activate();
        }
Esempio n. 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();
        }