private void Button_Click_1(object sender, RoutedEventArgs e) { this.Hide(); Main_Menu mm = new Main_Menu(); mm.Show(); }
private void btnback_Click(object sender, RoutedEventArgs e) { spe.RecognizeAsyncCancel(); Main_Menu g = new Main_Menu(); this.Hide(); g.Show(); }
private void Recognizer(object sender, SpeechRecognizedEventArgs e) { string speech = e.Result.Text; if (speech == "Go Back") { Main_Menu g = new Main_Menu(); spe.RecognizeAsyncCancel(); this.Hide(); g.Show(); } }