public MainWindow()
 {
     InitializeComponent();
     Utilities.KinectHelper kinectHelper = new Utilities.KinectHelper();
     kinectHelper.PropertyChanged += kinectHelper_PropertyChanged;
     Globals.ResetCoordinates();
     blinkStep0 = (Storyboard)this.MainGrid.FindResource("RectangleCyanBlink");
     blinkStep10 = (Storyboard)this.MainGrid.FindResource("RectangleGreenBlink");
     blinkStep100 = (Storyboard)this.MainGrid.FindResource("RectangleYellowBlink");
     blinkStep1000 = (Storyboard)this.MainGrid.FindResource("RectangleRedBlink");
     this.Loaded += MainWindow_Loaded;
 }
Exemple #2
0
 public MainWindow()
 {
     InitializeComponent();
     Utilities.KinectHelper kinectHelper = new Utilities.KinectHelper();
     kinectHelper.PropertyChanged += kinectHelper_PropertyChanged;
     Globals.ResetCoordinates();
     blinkStep0    = (Storyboard)this.MainGrid.FindResource("RectangleCyanBlink");
     blinkStep10   = (Storyboard)this.MainGrid.FindResource("RectangleGreenBlink");
     blinkStep100  = (Storyboard)this.MainGrid.FindResource("RectangleYellowBlink");
     blinkStep1000 = (Storyboard)this.MainGrid.FindResource("RectangleRedBlink");
     this.Loaded  += MainWindow_Loaded;
 }