/// <summary> /// Initializes a new instance of the MainWindow class. /// </summary> public MainWindow() { // Initialize SkeletonAnalyzer to track last 1000 milliseconds. skeletonAnalyzer = new SkeletonAnalyzer(1000); //workoutTracker = new WorkoutTracker(); InitializeComponent(); this.PreviewKeyDown += new KeyEventHandler(HandleEsc); this.currentExercise = BICEP_CURLS; /* private static int DUMBELL_SHOULDER_PRESS = 1; private static int INCLINE_BENCH_PRESS = 2; ++ private static int LATERAL_RAISE_LEFT = 3; ++ private static int LATERAL_RAISE_RIGHT = 4; ++ private static int WARRIOR_II = 5; private static int PULL_UPS = 6; ++ private static int LATERAL_RAISE_DUAL = 7; ++ private static int BICEP_CURLS = 8; ++ */ }
/// <summary> /// Initializes a new instance of the Window2 class. /// </summary> public Window2() { // Initialize SkeletonAnalyzer to track last 64 frames. sa = new SkeletonAnalyzer(1000); InitializeComponent(); }