Esempio n. 1
0
 private void resetButton_Click(object sender, EventArgs e)
 {
     Gestures.resetGestureInfo();
     Gestures.saveData();
     Gestures.loadData(Gestures.getPath());
     LoadTable();
 }
Esempio n. 2
0
        private void mainWindowTabs_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (mainWindowTabs.SelectedIndex == 1)
            {
                try
                {
                    Gestures.loadData(Gestures.getPath());
                    gestureDataGridView.Hide();
                    gestureDataGridView.Controls.Clear();
                    LoadTable();
                    gestureDataGridView.Show();
                }
                catch (IOException)
                {
                }
            }

            this.model.Stop();
            this.controlButton.Text     = "Start";
            this.mainWindow_status.Text = "Your Gesture: []";
            this.classifying            = false;
        }