Ejemplo n.º 1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            this.Hide();
            Main_Menu mm = new Main_Menu();

            mm.Show();
        }
Ejemplo n.º 2
0
        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();
            }
        }