예제 #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;
 }