private void KinectTest_Click(object sender, RoutedEventArgs e) { // Connect to a Kinect kinect = new KinectController(); // Set up the event Ksupdate to fire ProcessKinectUpdate here kinect.Ksupdate += new KinectController.KinectupdateDelegate(ProcessKinectUpdate); }