public SpeechRecognizer(MainWindow window) { mainWindow = window; RecognizerInfo ri = GetKinectRecognizer(); this.sre = new SpeechRecognitionEngine(ri); this.isDisposed = false; this.LoadGrammar(this.sre); }
public ScreenController(MainWindow window) { this._window = window; this.screenWidth = window.MainCanvas.Width; this.screenHeight = window.MainCanvas.Height; this.swipableWidth = this.screenWidth - this._window.SwipeIcon.Width; this.lastSwipeDirection = SwipeDirection.CENTER; this.initializeMediaElements(); }
public Television(MainWindow window) { this._screenController = new ScreenController(window); this.CurrentChannelIndex = 0; }
public SkeletonController(MainWindow win) { window = win; }