private void NavigationWindow_Closed(object sender, EventArgs e)
        {
            AppGlobal.DebugModeChanged    -= HandleDebugModeChanged;
            AppGlobal.IsFullScreenChanged -= HandleIsFullScreenChanged;

            UnsubColorImgSrcToPlaygrd();
            playgroundWindow.Close();
            if (KinectManagerClient.multiSourceReader != null)
            {
                // MultiSourceFrameReder is IDisposable
                KinectManagerClient.multiSourceReader.Dispose();
                KinectManagerClient.multiSourceReader = null;
            }
            KinectManagerClient.CloseKinect();
        }
 private void NavigationWindow_Closed(object sender, EventArgs e)
 {
     KinectManagerClient.ColorImageSourceArrived -= HandleColorImageSourceArrived;
     playgroundWindow.Close();
     KinectManagerClient.CloseKinect();
 }