コード例 #1
0
        public InterpreterForm()
        {
            InitializeComponent();
            Debug.WriteLine("Init Interpreter");
            LMSingleton.Instance.currentForm = LMSingleton.FormName.Interpreter;

            isCapture       = false;
            this.controller = new Controller();
            this.listener   = new LeapEventListener(this);
            controller.AddListener(listener);

            mStatus = TestStatus.Training;
            ReloadUIByStatus();
            mTrain = new TrainModule();


            // neu co data moi thi se load lai training
            //mTrain.ConvertSignDataToAngle();

            // load Test data
            mStatus = TestStatus.Testing;
            ReloadUIByStatus();
            mTrain.ReloadTrainResult();
        }
コード例 #2
0
ファイル: TestForm.cs プロジェクト: NuiLab/mmGRasl
 private void btnTest_Click(object sender, EventArgs e)
 {
     mStatus = TestStatus.Testing;
     ReloadUIByStatus();
     mTrain.ReloadTrainResult();
 }