private void AddKinect(object sender, RoutedEventArgs e) { KinectManager kinectManager = new KinectManager(); kinectManager.OnConnect += OnKinectConnect; kinectManager.Connect(); }