Beispiel #1
0
        /// <summary>
        /// Конструктор формы
        /// </summary>
        public LogForm()
        {
            InitializeComponent();

            MethodAppendLine methodAppendLine = new MethodAppendLine(AppendLine);

            _screenDelineation = new ScreenDelineation();

            speechRecognition = new SpeechRecognition(methodAppendLine, _screenDelineation);

            //_loadConfiguration = new LoadConfiguration();
        }
        public SpeechRecognition(MethodAppendLine appendLine, ScreenDelineation screenDelineation)
        {
            _appendLine = appendLine;

            _loadCommand = new LoadCommand();

            FillListCommands();

            _screenDelineation = screenDelineation;
            _screenDelineation.Show();

            StartGrammar();
        }