CCT.NUI.MouseControl.MainWindow.Setup C# (CSharp) Méthode

Setup() private méthode

private Setup ( ) : void
Résultat void
        private void Setup()
        {
            foreach (var modeCombination in ModeCombination.ValidCombinations)
            {
                this.comboMode.Items.Add(modeCombination);
            }
            //this.factory = new OpenNIDataSourceFactory("mouse_config.xml");
            this.factory = new SDKDataSourceFactory();

            var depthImageDataSource = this.factory.CreateDepthImageDataSource();
            depthImageDataSource.NewDataAvailable += new Core.NewDataHandler<ImageSource>(MainWindow_NewDataAvailable);
            //this.trackingClusterDataSource = this.factory.CreateTrackingClusterDataSource();
            depthImageDataSource.Start();
            CreateController();
        }