private void bwKinectBtn_Click(object sender, RoutedEventArgs e) { unregisterEvent(); sensorChooser.Stop(); BlackAndWhiteSnapshot bws = new BlackAndWhiteSnapshot(); bws.Show(); this.Close(); }
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(); }