Пример #1
0
 public SpeechRecognizer(MainWindow window)
 {
     mainWindow = window;
     RecognizerInfo ri = GetKinectRecognizer();
     this.sre = new SpeechRecognitionEngine(ri);
     this.isDisposed = false;
     this.LoadGrammar(this.sre);
 }
Пример #2
0
 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();
 }
Пример #3
0
 public Television(MainWindow window)
 {
     this._screenController = new ScreenController(window);
     this.CurrentChannelIndex = 0;
 }
Пример #4
0
 public SkeletonController(MainWindow win)
 {
     window = win;
 }