void MainWindow_Loaded(object sender, RoutedEventArgs e) { sensor = new KinectSensorPlus(); this.sensor.Start(); this.colorImg.Source = this.sensor.ColorBitmap; this.depthImg.Source = this.sensor.DepthBitmap; this.sensor.readyEvent.afterDepthReady = DrawFingerTips; // Create a console to debug Win32.AllocConsole(); Console.WriteLine("Debug Console"); }