private void Button_Record(object sender, RoutedEventArgs e) { closing = true; StopKinect(kinectSensorChooser1.Kinect); dispatcherTimer.Stop(); hoverTimer.Reset(); //myCommands.StopSpeechRecognition(); RecordWindow rw = new RecordWindow(); this.Close(); rw.Show(); //this.NavigationService.Navigate(rw); }
private void Button_Record(object sender, RoutedEventArgs e) { RecordWindow rw = new RecordWindow(); this.NavigationService.Navigate(rw); }