コード例 #1
0
        private void bwKinectBtn_Click(object sender, RoutedEventArgs e)
        {
            unregisterEvent();
            sensorChooser.Stop();
            BlackAndWhiteSnapshot bws = new BlackAndWhiteSnapshot();

            bws.Show();
            this.Close();
        }
コード例 #2
0
        private void saveBtn_Click(object sender, RoutedEventArgs e)
        {
            // save file_info in db
            Media_DB_Query media_db_query = new Media_DB_Query();

            media_db_query.saveMedia(ApplicationState.GetValue <string>("user_id"),
                                     "BlackAndWhiteSnapshot", ApplicationState.GetValue <string>("bwPath"));


            UnregisterEvent();
            BlackAndWhiteSnapshot bws = new BlackAndWhiteSnapshot();

            bws.Show();
            this.Close();
        }