Visual C# Code:
namespace WindowsFormsApplication15 { { { InitializeComponent(); rec.SpeechRecognized += rec_SpeechRecognized; } { c.Add("Close"); c.Add("Open"); rec.LoadGrammar(g); } { lblLetter.Text = e.Result.Text; } { } { { Application.Exit(); } } } }