public KinectHandler(MainWindow mainWindow, Room room)
 {
     this.mainWindow = mainWindow;
     this.room = room;
     initializeKinectSensor();
 }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     Button_Skip.IsEnabled = false;
     mainRoom = new Room(this);
     mainKinectHandler = new KinectHandler(this, mainRoom);
     mainKinectHandler.absolute = new ChooseModus(this).show();
     MessageBoxResult mbr;
     mbr = MessageBox.Show("Press OK to start", "", MessageBoxButton.OK);
     if (mbr == MessageBoxResult.OK) mainKinectHandler.tutorial = true;
     mainViewPort.Visibility = System.Windows.Visibility.Visible;
     secs = 5;
     time = new DispatcherTimer();
     time.Interval = new TimeSpan(0, 0, 1);
     time.Tick += time_Tick_Countdown;
     TextBlock_Message.Text = textBoxString + secs.ToString();
     TextBlock_Message.Visibility = System.Windows.Visibility.Visible;
     time.Start();
     //startNextRound();
 }