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(); }