Esempio n. 1
0
        public void KinectSkeletons()
        {
            var ed =
                Application.DocumentManager.MdiActiveDocument.Editor;

            try
            {
                // Create and use our jig, disposing afterwards

                using (var sj = new KinectSkeletonJig())
                {
                    ed.Drag(sj);
                }
            }
            catch (System.Exception ex)
            {
                ed.WriteMessage(
                    "\nUnable to start Kinect sensor: " + ex.Message
                    );
            }
        }
Esempio n. 2
0
    public void KinectSkeletons()
    {
      Editor ed =
        Application.DocumentManager.MdiActiveDocument.Editor;

      try
      {
        // Create and use our jig, disposing afterwards

        using (KinectSkeletonJig sj = new KinectSkeletonJig())
        {
          ed.Drag(sj);
        }
      }
      catch (System.Exception ex)
      {
        ed.WriteMessage(
          "\nUnable to start Kinect sensor: " + ex.Message
        );
      }
    }