CCT.NUI.WPFSamples.MainWindow.buttonHandInterface_Click C# (CSharp) Method

buttonHandInterface_Click() private method

private buttonHandInterface_Click ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
return void
        private void buttonHandInterface_Click(object sender, RoutedEventArgs e)
        {
            if (this.factory is OpenNIDataSourceFactory)
            {
                (this.factory as OpenNIDataSourceFactory).SetAlternativeViewpointCapability();
            }
            new HandInterfaceWindow(this.handDataSource, this.rgbImageDataSource).Show();
        }