private void Window_Loaded(object sender, RoutedEventArgs e) { this.device = new KinectMultiTouchDevice(handDataSource, this); handDataSource.NewDataAvailable += new Core.NewDataHandler <HandCollection>(handDataSource_NewDataAvailable); }
private void Window_Loaded(object sender, RoutedEventArgs e) { this.device = new KinectMultiTouchDevice(handDataSource, this); this.touchPoints = new Dictionary <int, TouchControl>(); this.LoadImages(); }