private void Window_Loaded_1(object sender, RoutedEventArgs e) { InitDrawing(); Gestures.Load(); Dispatch.SkeletonMoved += SkeletonMoved; Dispatch.TriggerLock(false); }
public static void ShowStartScreen() { Gestures.Unload(); Dispatch.TriggerStop(); startScreen.Show(); startScreen.Activate(); }
public static void SelectSong() { Gestures.Unload(); Dispatch.TriggerStop(); songSelect.Show(); songSelect.Activate(); }
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(); }