Пример #1
0
        void Pause_timer_Tick(object sender, EventArgs e)
        {
            string _msg;

            foreach (Problem item in _problemForSpeech)
            {
                _msg = item.MessageText;

                ProblemExecuteObs.Add(new ProblemExecute(item.StartDateTime, _msg));
                Speak.Speakmain(synthesizer, _msg, item.Speek, settClass.SpeekAllSett);
                Speak.MessageWindow(_msg, item.MessageMindow);
            }
            _problemForSpeech.Clear();

            pause_timer.Stop();
        }