コード例 #1
0
        public TrainPanel()
        {
            InitializeComponent();

            gestureIndex = new GestureIndex();
            gestureIndex.LoadDB();
            UpdateGestureList(gestureIndex.GetAllGestures());
            gestureList.SelectedIndex = 0;

            AddRectangles();
        }
コード例 #2
0
        public ExercisePanel()
        {
            InitializeComponent();

            gestureIndex = new GestureIndex();
            gestureIndex.LoadDB();
            gestureDetector = new GestureDetector(gestureIndex);

            UpdateGestureList(gestureIndex.GetAllGestures());

            AddTimeRectangles();

            PlaySelectedGesture();
        }