Ejemplo n.º 1
0
        public ControlCore(ListView listView)
        {
            _listView = listView;

            _screenDelineation = new ScreenDelineation();
            _screenDelineation.Show();

            Recognition voiceRecognition = new Recognition("ru-RU");

            Recognition.PropertyTextLog += new PropertyChangedEventHandler(AppendLine);
            Recognition.PropertyCommand += new PropertyChangedEventHandler(Command);
        }
        public SpeechRecognition(MethodAppendLine appendLine, ScreenDelineation screenDelineation)
        {
            _appendLine = appendLine;

            _loadCommand = new LoadCommand();

            FillListCommands();

            _screenDelineation = screenDelineation;
            _screenDelineation.Show();

            StartGrammar();
        }