private void SkeletonViewer_Click(object sender, RoutedEventArgs e) { if (skeletonViewer == null) { skeletonViewer = new SkeletonViewer(kinectManager); } skeletonViewer.Show(); }