/// <summary>
 /// Function that is called whenever a user can't be tracked anymore, 
 /// most likely because it left the range of the Kinect. It sets the user to inactive and 
 /// decreases the nr. of players
 /// </summary>
 /// <param name="sender">The object that called this function</param>
 /// <param name="e">The events associated with this call; used to retrieve the users id</param>
 private void OnUserExit(object sender, UserExitEventArgs e)
     Logger.Log("Exit user: " + e.ID);
     if (TrackedUsers.ContainsKey(e.ID))
         TrackedUsers[e.ID].Active = false;
Example #2
		void FUserGenerator_UserExit(object sender, UserExitEventArgs e)
			FUserData[e.ID].Present = false;