Ejemplo n.º 1
0
 private void arrivalsDepartureToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         ArrivalDeparture ad = new ArrivalDeparture();
         ad.Show();
     }
     catch (Exception ex)
     {
     }
 }
Ejemplo n.º 2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            try
            {
                ArrivalDeparture ad = new ArrivalDeparture();
                ad.Show();
            }
            catch (Exception ex)
            {
            }


            //SpeechRecognitionEngine sr = new SpeechRecognitionEngine();

            //Grammar gr = new DictationGrammar();

            //sr.LoadGrammar(gr);


            //    toolStrip1.Text = "Arrivals";
            //    sr.SetInputToDefaultAudioDevice();
            //    RecognitionResult result = sr.Recognize();
            //    toolStrip1.Text = result.Text;
        }