void infraredKinectBtn_Click(object sender, RoutedEventArgs e) { unregisterEvent(); sensorChooser.Stop(); InfraredSnapshot ir = new InfraredSnapshot(); ir.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"), "InfraredSnapshot", ApplicationState.GetValue <string>("irPath")); UnregisterEvent(); InfraredSnapshot ir = new InfraredSnapshot(); ir.Show(); this.Close(); }