Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();

            database = new Database();
            gridSamples.AutoGenerateColumns = false;
            cbClasses.DataSource = database.Classes;
            gridSamples.DataSource = database.Samples;
            openDataDialog.InitialDirectory = Path.Combine(Application.StartupPath, "Resources");
        }
Esempio n. 2
0
        public MainForm()
        {
            InitializeComponent();
            th_restPosCheck = new Thread(checkResting);
            th_restPosCheck.IsBackground = true;

            database = new Database();
            gridSamples.AutoGenerateColumns = false;
            cbClasses.DataSource = database.Classes;
            gridSamples.DataSource = database.Samples;

            openDataDialog.InitialDirectory = Path.Combine(Application.StartupPath, "Resources");
            sequence= new List<GestureData>(); //init the GestureData list
            InitKinect(); //initialize Kinect sensor and its various data streams
            ttsout = new SpeechSynthesizer(); //init the speech synth object
            passableSequence = sequence;
            SpeakOut("Hello!");

            btnLearnHCRF.Visible = false;
        }