Ejemplo n.º 1
0
        public Settings(ScreenDelineation screenDelineation)
        {
            InitializeComponent();

            _screenDelineation = screenDelineation;


            ModeDrawComboBox.SelectedIndex = ProjectSettingsMain.Zone_DrawMethod;
            ActiveCreatingNewAreaBotton(ProjectSettingsMain.Zone_DrawMethod);
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
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();
        }