CCT.NUI.MouseControl.MainWindow.Setup C# (CSharp) Метод

Setup() приватный Метод

private Setup ( ) : void
Результат 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();
        }