Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (RenderGame game = new RenderGame())
     {
         game.Run();
     }
 }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            this.InitializeKinect();
            using (game = new RenderGame())
            {
                game.Exiting += game_Exiting;
                game.Run();
            }

            //if (kinectSensor != null)
                //kinectSensor.Stop();
        }